Skip to content

Monospaced text does not apply bold, italics, strike-through or underline #3368

Open

Description

@judithroth

What’s broken?

If I created some monospaced text (e.g. to indicate a very short code example or technical term) with backticks in the editor and mark it, the formatting toolbar appears. However, clicking bold, italics, strike or underline do nothing. They should work.

Screencast.from.2026-11-18.12-03-06.mp4

What did you expect to happen?

bold, italics, underline and strike should work on monospaced text as well.

Steps to reproduce

  1. Go to the blocknote example site
  2. Write some text inside backticks `
  3. See that this text gets a monospaced font
  4. Mark that text
  5. Try to make it bold, underline, italic or strike through via the toolbar menu
  6. See nothing happens

BlockNote version

No response

Environment

No response

Additional context

No response

Contribution

  • I'd be interested in contributing a fix for this issue

Sponsor

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Activity

  1. added
    needs-triage
    on Nov 18, 2026
  2. changed the title [-]Monospaced text can not get bold, italics, strike-through or underline[/-] [+]Monospaced text can does not apply bold, italics, strike-through or underline[/+] on Nov 18, 2026
  3. changed the title [-]Monospaced text can does not apply bold, italics, strike-through or underline[/-] [+]Monospaced text does not apply bold, italics, strike-through or underline[/+] on Nov 18, 2026
  4. nperez0111 commented on Nov 26, 2026

    @nperez0111
    Contributor

    Monospaced text is a code mark in blocknote, code cannot be formatted, since it is meant to represent a plain text section. This is related to #3286 where we should somehow indicate that this is an invalid action (or hide the toolbar button) for this range of content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions