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
{{ message }}
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
Now the words Hello and World are separated and other elements can be inserted between them. But both of the words are still pointing to the same link entity, which means data manipulations on one part will affect the other.
I think it's an unexpected behavior of entities. May cause some strange bugs after breaking a mutable entity.
The text was updated successfully, but these errors were encountered:
This was initially meant to be executed on copy-paste (by default, copy-pasting an entity would create a new range pointing to the same entity, #504), but can also be executed when pressing enter or similar so it covers this scenario as well.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Reproducing steps:
examples/draft-0-9-1/link/link.html
Hello World
Hello World
Hello
Now the words
Hello
andWorld
are separated and other elements can be inserted between them. But both of the words are still pointing to the same link entity, which means data manipulations on one part will affect the other.I think it's an unexpected behavior of entities. May cause some strange bugs after breaking a mutable entity.
The text was updated successfully, but these errors were encountered: