Skip to content

Text disapears when composing #1849

@nadjitan

Description

@nadjitan

Describe the bug
When the font size of a text is changed and then the user start composing (e.g. Japanese characters), the paragraph/content disappears.
When user goes back to english keyboard, the previously typed content with different font size reappears and the newly typed content goes to a newline.

Screen_Recording_2025-07-16_at_2.51.37_PM.mov

This bug is related to my past issue #1611
data-mark-view-* elements might be the issue when composing a span element with font size styles

To Reproduce

  1. Run the Blocknote repository using pnpm start
  2. Go to /custom-schema/react-custom-styles

Misc

  • Node version:
  • Package manager: pnpm
  • Browser: Google Chrome
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions