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
The text was updated successfully, but these errors were encountered:
stirelli
changed the title
Word removed when using space after a link
Quill removes the entire word when using the space after a word with a link
Nov 21, 2018
I confirmed that this also happens when text is in italics or underlined, I believe it's related to having the <a> nested inside of another tag. I traced the actual removal to https://github.com/quilljs/parchment/blob/2.0/src/blot/abstract/parent.ts#L237
inside of parchment, but I don't have enough depth of knowledge at the moment to understand why the problem is occurring.
Checking out the mutations that cause it, it looks like there's quite a lot going on in there for adding a single character. That's pretty much where I'm getting stuck on tracing it though.
Quill removes the entire word when using the space after a word with a link
Steps for Reproduction
Expected behavior:
Should make a normal space
Actual behavior:
Quill removes the entire word
Platforms:
Chrome 70.0.3538.77 (Official Build) (64-bit)
Ubuntu 18.10
Version:
v2.0.0-dev.3
The text was updated successfully, but these errors were encountered: