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
I have html containing iframe inside it and i'm using stateFromHTML to convert it as draft-js state with option customInlineFn that have condition to match tagName === 'IFRAME' the return Entity('EMBEDDED_LINK', ...restOptions)
And the EMBEDDED_LINK will be handled in iframeDecorator to return iframe component if the condition match
Question :
inside customInlineFn the entityKey is generated and the condition match, but in draftJs state it's not generated as editor state
The text was updated successfully, but these errors were encountered:
Hello,
Background :
customInlineFn
that have condition to matchtagName === 'IFRAME' the return Entity('EMBEDDED_LINK', ...restOptions)
EMBEDDED_LINK
will be handled in iframeDecorator to return iframe component if the condition matchQuestion :
customInlineFn
the entityKey is generated and the condition match, but in draftJs state it's not generated as editor stateThe text was updated successfully, but these errors were encountered: