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
Copy this emoji 💏 or any other emoji of length 2 (occupying a length of 2, otherwise this emoji is actually of length 11 as shown by '💏'.length which also can be an error if lexical is supposed to treat this as an 11-length emoji, but a....a💏 (28 as) works fine in MaxLength)
Remove a character and paste the emoji at the end (and ONLY at the end, otherwise the behavior is proper)
The current behavior
The entire editor gets cleared and the Block Format dropdown disappears! (I've found out that it is because the blockType of editor gets changed to root after being cleared)
The expected behavior
It shouldn't allow the emoji
Note
I would like to work on this after getting to know a bit more about emoji guidelines as that would help in a better understanding of the functionality!
The text was updated successfully, but these errors were encountered:
#2296 (comment)
lexical-.4.mp4
Lexical version: Latest
Steps To Reproduce
'💏'.length
which also can be an error if lexical is supposed to treat this as an 11-length emoji, buta....a💏
(28a
s) works fine in MaxLength)The current behavior
The entire editor gets cleared and the Block Format dropdown disappears! (I've found out that it is because the
blockType
of editor gets changed to root after being cleared)The expected behavior
It shouldn't allow the emoji
Note
I would like to work on this after getting to know a bit more about emoji guidelines as that would help in a better understanding of the functionality!
The text was updated successfully, but these errors were encountered: