Open
Description
Steps to Reproduce
The demo below is performed on https://trix-editor.org/
trix_composition_bug.mov
- Upload an attachment(image).
- Start typing characters that need composition after the attachment.
- If it is composing, the characters will align vertically rather than horizontally, which is unexpected.
- Press enter to end the composition, the characters align horizontally as expected but with a leading redundant
T
which is used to compose the first character現
.
Looks like the strange composition behavior will happen when cursor is on <span data-trix-cursor-target="right" data-trix-serialize="false"></span>
or <span data-trix-cursor-target="left" data-trix-serialize="false"></span>
.
Thanks for go through this:)
Details
- Trix version: 1.3.1
- Browser name and version: Chrome(89.0.4389.90)
- Operating system: MacOS 10.13.4