-
hello ! I'm working on a very similar plugin to highlight text on the editor. It works but I need to manually click each element in order for the decorator to appear. I need to say this plugin renders the leaf in a special way and I believe here is where it fails.
here is the code for the render leaf
So I guess my question is: am I missing something in order to trigger the rendering of the leaf? I have followed the same "useMemo" approach and a state (and other mechanisms as well) but so far no luck. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think I was using an older version of plate. It's working now |
Beta Was this translation helpful? Give feedback.
I think I was using an older version of plate. It's working now