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
Copying the React Alert demo block doesn't work, because it's render function relies on React Context (for dropdown menu).
Overriding toExternalHtml doesn't suffice, because we also call toInternalHtml to set the blocknote data on the clipboard. However, toInternalHTML always calls render(), which depends on the React Context.
We need to review to usage of toInternalHTML and see if it needs to be customizable
The text was updated successfully, but these errors were encountered:
Copying the React Alert demo block doesn't work, because it's render function relies on React Context (for dropdown menu).
Overriding
toExternalHtml
doesn't suffice, because we also calltoInternalHtml
to set the blocknote data on the clipboard. However,toInternalHTML
always callsrender()
, which depends on the React Context.We need to review to usage of toInternalHTML and see if it needs to be customizable
The text was updated successfully, but these errors were encountered: