How to prevent marks from applying to placeholder? #2653
Unanswered
OliverWales
asked this question in
Q&A
Replies: 1 comment 5 replies
-
By default, the The playground is using a custom placeholder solution, which is unrelated to Slate's placeholder. See how it's being used in createPlateUI. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For some reason some marks (bold, italic and code) but not others (super/subscript, underline) are being applied to the editor placeholder. The Plate playground does not have this issue so it's more likely a setup issue than a bug. Can anyone help me figure out why this is happening?
Screen.Recording.2023-09-28.at.14.36.46.mov
See code below, happy to provide other snippets is relevant.
Beta Was this translation helpful? Give feedback.
All reactions