Void nodes, saving complex data structures #5180
Unanswered
leo-petrucci
asked this question in
Q&A
Replies: 1 comment
-
After a lot of trial and error I figured out I can use Transforms to change Slate's data within a void, so I've got a component like this:
This "works", but only when I first click on the div containing the input, which makes for terrible UX. Any suggestions on getting around this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking at the examples and stumbled upon the Void nodes example.
I thought I'd use something along these lines for:
However upon further inspection it doesn't look like any of the data from either the input or the select is saved in the editor.
Are there any examples on how something like this would be implemented? How do I save data besides
text
to the current node?Beta Was this translation helpful? Give feedback.
All reactions