You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to convert this into a valid contentBlock that draftJS can display (it's a custom entity of type 'PERSON'), and then eventually do the opposite with the export-html.
<p>This is a <spanclass="person" id="123" data-tag-id="100">special</span> element.</p>
How would we go about this? Is it possible using this library? We can't seem to hook any kind of data attributes when doing stateFromElement passing customBlockFn() in the options.
Thank you!
The text was updated successfully, but these errors were encountered:
We're trying to convert this into a valid contentBlock that draftJS can display (it's a custom entity of type 'PERSON'), and then eventually do the opposite with the export-html.
How would we go about this? Is it possible using this library? We can't seem to hook any kind of data attributes when doing
stateFromElement
passingcustomBlockFn()
in the options.Thank you!
The text was updated successfully, but these errors were encountered: