Replies: 6 comments
-
Hi @majuric Good point! We have plans to extend the API to allow pass any meta data you want |
Beta Was this translation helpful? Give feedback.
-
To add a use-case to this request: if I am saving the data in a different format, and assembling it before passing through to Editor.js then it would be useful to have my own meta associated with each block, so that if a block is updated, I can then pass that individual change back to my database. This could be useful for real-time collaboration, etc. |
Beta Was this translation helpful? Give feedback.
-
Is there any new infomation on this issue? |
Beta Was this translation helpful? Give feedback.
-
Any update on this? Whatever data I pass should remain on the object after save() |
Beta Was this translation helpful? Give feedback.
-
We really need that ability |
Beta Was this translation helpful? Give feedback.
-
There is a library, I hope helps |
Beta Was this translation helpful? Give feedback.
-
Is there a way to add metadata to a block and have it returned on editor save?
For instance adding a self generated uuid to a particular so I can link the data from a particular block to some other aspect of my application.
When I call
save()
theuuid
part is stripped and it's not returned.Having this would be awesome to be able to link individual block and add some outside logic to it. Other metadata could be used as well. Allowing
metadata
key in data would solve the issue as wellBeta Was this translation helpful? Give feedback.
All reactions