I am building a block tool: in save() should I always read data from HTML or I can read object properties? #2556
Unanswered
collimarco
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to build a new component for Editor.js.
In your official guide you suggest this stretegy:
Why do you read from the HTML instead of reading an instance variable?
E.g. I would use:
Is this the same? Or is there any reason specific to Editor.js to use the other solution?
Beta Was this translation helpful? Give feedback.
All reactions