-
I'm creating a custom plugin that work (and render) as Mention do, but the (basic) marks didn't work with my plugin (as well as MentionPlugin), could you provide an example how to do this? Here's more detail:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Mention is a void node so it can't be marked |
Beta Was this translation helpful? Give feedback.
-
@zbeyens Slate supports "markable Voids" now: https://docs.slatejs.org/api/nodes/element#voids-that-support-marks Looks like support was added in Slate 0.85.0: https://github.com/ianstormtaylor/slate/releases/tag/slate%400.85.0 Is there any hope that this will be exposed in Plate as well? |
Beta Was this translation helpful? Give feedback.
-
Completed in #2567 |
Beta Was this translation helpful? Give feedback.
Completed in #2567