When pasting lists from word the pastematcher accidentally generated non breaking spaces between
and the the first character in the line.
trimLeft() on line 15 fixes this.
Intentional spaces before the first character will also be trimmed (I see no way to differentiate), however this should be a super-rare occurrence when pasting from word, and can still be fixed in the text editor after pasting.
When pasting lists from word the pastematcher accidentally generated non breaking spaces between
Intentional spaces before the first character will also be trimmed (I see no way to differentiate), however this should be a super-rare occurrence when pasting from word, and can still be fixed in the text editor after pasting.
See https://github.com/quilljs/quill/issues/1225#issuecomment-992867278