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
Inserting an emoji in plain text -- either by using insertText(), copy pasting, or using Mac's emoji picker -- as the first character in the editor, then hitting the left arrow once and hitting backspace results in an error: slate.js:6451 Uncaught TypeError: Cannot read property 'text' of null
Sandbox example: https://codesandbox.io/s/8zyqw2jy38
This also happens in the Slate.js example editor:
What's the expected behavior?
Allow the backspace, resulting in the replacement character (�). I'd be happy to open a PR if this is indeed a bug.
Thanks!
The text was updated successfully, but these errors were encountered:
bug
What's the current behavior?
Inserting an emoji in plain text -- either by using
insertText()
, copy pasting, or using Mac's emoji picker -- as the first character in the editor, then hitting the left arrow once and hitting backspace results in an error:slate.js:6451 Uncaught TypeError: Cannot read property 'text' of null
Sandbox example:
https://codesandbox.io/s/8zyqw2jy38
This also happens in the Slate.js example editor:
What's the expected behavior?
Allow the backspace, resulting in the replacement character (�). I'd be happy to open a PR if this is indeed a bug.
Thanks!
The text was updated successfully, but these errors were encountered: