Skip to content

[examples/editable-voids] Nested rich text editor stops accepting caret focus after click #18

@wudidewo12

Description

@wudidewo12

Description

In examples/editable-voids, the nested rich text editor under Tell us about yourself can stop accepting caret placement and input after clicking inside it.

This is separate from the runtime error after undoing a newly inserted editable void. This issue is about the nested editor becoming effectively unusable: clicks no longer place the caret and typing does not work.

Recording

Screenshot attached below:

Nested rich text editor after it stops accepting caret/clicks:

CleanShot.2026-05-23.at.00.46.05.mp4

Sandbox

No standalone sandbox. Reproduced in the Slate Editable Voids example.

Local reproduction URL:

http://localhost:3100/examples/editable-voids

Steps

  1. Open examples/editable-voids.
  2. Scroll to the nested rich text editor under Tell us about yourself.
  3. Click inside that nested rich text editor.
  4. Try to move the caret by clicking elsewhere inside the same editor.
  5. Try to type.

Expectation

Clicking inside the nested rich text editor should place the caret at the clicked location and allow typing.

Actual behavior

The nested rich text editor only appears usable immediately after refresh at the first line / first position. After clicking once, the caret disappears. Further clicks inside the editor do not place a caret, and typing does not work.

Environment

  • Slate Version: v2 branch, commit e62c2046
  • Operating System: macOS
  • Browser: Chrome
  • Local examples site: http://localhost:3100

Impact

This makes the nested rich text editor in examples/editable-voids unusable for normal mouse-based editing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions