Looking to create plugin to wrap root nodes with a context menu #1499
Unanswered
reinvanimschoot
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys
I'm currently working on a more block-based editor where we have the following way of adding content:
A bar that shows a dropdown of possible elements to add.
Now, we are converting our editor from Slate to Plate to make use of all the benefits and currently I'm implementing the ContextMenu as follows:
In other words, I'm wrapping al my components with a ContextMenuWrapper component.
I was wondering if there was a better/more best practice way to do this.
Any help would be greatly appreciated!
Regards
Rein
Beta Was this translation helpful? Give feedback.
All reactions