Alternative to deprecated $wrapNodes ? #5600
Closed
matisszemturis
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
@matisszemturis |
Beta Was this translation helpful? Give feedback.
1 reply
-
Might be worth actually mentioning this replacement here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for a way to wrap nodes with a specific type of node - Selection node/Linters/Highlight etc.
I find it very odd that in Playground when creating a comment, highlight box is created outside editor and then hovered over by calculating intial position.
Before there was a $wrapNodes function, but it got deprecated.
Regarding wrapping selection - Link and Mark nodes use completely different logics, which makes it even more confusing on how to handle a seperate use case with a custom node.
Is there any solution that works for all use cases and is it even planned?
Beta Was this translation helpful? Give feedback.
All reactions