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
Description
I have a logic with custom normalization in my project, where I called Transforms.wrapNodes for some case. Since version 0.112.0 due to #5768 this logic started to conflict with the built-in normalization. It turns out that I do wrap, and the built-in normalization does unwrap and this is an infinite loop. Previously, when the built-in normalization delete the element, and did not unwrap, everything was fine.
I can fix my normalization, but in general such a problem can occur not only to me and this change was dangerous
Expectation
A clear and concise description of what you expected to happen. (Often it's helpful to test out the behavior of other editors like Google Docs, Medium, Notion, etc. to see how they handle the same issue.)
Environment
Slate Version: [>= 0.112.0]
The text was updated successfully, but these errors were encountered:
Description
I have a logic with custom normalization in my project, where I called Transforms.wrapNodes for some case. Since version 0.112.0 due to #5768 this logic started to conflict with the built-in normalization. It turns out that I do wrap, and the built-in normalization does unwrap and this is an infinite loop. Previously, when the built-in normalization delete the element, and did not unwrap, everything was fine.
I can fix my normalization, but in general such a problem can occur not only to me and this change was dangerous
Expectation
A clear and concise description of what you expected to happen. (Often it's helpful to test out the behavior of other editors like Google Docs, Medium, Notion, etc. to see how they handle the same issue.)
Environment
The text was updated successfully, but these errors were encountered: