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
This isn't related to the block having a wrapper, this is because of how tryToRemoveBlockStyle from Draft.js is used. Corresponding draftjs-utils issue: jpuri/draftjs-utils#10.
See behavior below:
I imagine this may be because of the code block having a
wrapper
:draftail/lib/api/behavior.js
Lines 37 to 41 in 81de019
This might not be compatible with how
draftjs-utils
handles newlines: https://github.com/jpuri/draftjs-utils/blob/0ca605084a64a0fddb62d680918aad4bea1400a2/js/keyPress.js#L63The text was updated successfully, but these errors were encountered: