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
Always raise error: Lexical node with constructor FoxTextNode attempted to re-use key from node in active editor state with constructor _TextNode. Keys must not be re-used when the type is changed.
Why compare constructor name here? It's not make sense since my class name is defined by myself
The expected behavior
There is no error in the past version.
The text was updated successfully, but these errors were encountered:
What @ivailop7 is saying is correct, people used to make this mistake and the error message happened later in a confusing place. Here you get it much sooner. Specifically this is the code that's broken:
What @ivailop7 is saying is correct, people used to make this mistake and the error message happened later in a confusing place. Here you get it much sooner. Specifically this is the code that's broken:
Lexical version:0.16.0
Steps To Reproduce
Link to code example:
https://codesandbox.io/p/sandbox/buglexical-6y7rcf
The current behavior
Always raise error: Lexical node with constructor FoxTextNode attempted to re-use key from node in active editor state with constructor _TextNode. Keys must not be re-used when the type is changed.
Why compare constructor name here? It's not make sense since my class name is defined by myself
The expected behavior
There is no error in the past version.
The text was updated successfully, but these errors were encountered: