-
I am looking to show/hide the highlight style on MarkNodes based on node IDs. What would be the recommended way to do this? Thank you 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Maybe the solution here is to only render marknodes selectively! Will try. |
Beta Was this translation helpful? Give feedback.
-
actually this will require me to somehow serialize and deserialize selection objects, not sure how to do that 🤔 |
Beta Was this translation helpful? Give feedback.
-
Was able to save the relevant fields of a selection to a JSON with the following format:
Then create the RangeSelection object with the
|
Beta Was this translation helpful? Give feedback.
Was able to save the relevant fields of a selection to a JSON with the following format:
Then create the RangeSelection object with the
$createRangeSelection
function: