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
If editor text prop contains empty string, and I want to type "Lorem" and then undo it by ctrl+z, first argument of onChange callback will be called with values:
If editor
text
prop contains empty string, and I want to type "Lorem" and then undo it byctrl+z
, first argument ofonChange
callback will be called with values:So, I can't undo typing of first letter "L".
Editor example with empty initial
text
value: https://davidyuk.github.io/react-medium-editor/Also, if I use
<p></p>
as initial value, I can undo all, but content places before<p>
:The text was updated successfully, but these errors were encountered: