Composition characters behave unexpected during composing when cursor is on trix-cursor-target span
Steps to Reproduce
The demo below is performed on https://trix-editor.org/
https://user-images.githubusercontent.com/15135426/114520557-28d32e00-9c74-11eb-8f1e-1a5dc7224367.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
Twhich 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
This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.
Any development here? I tried the v2 alpha and the problem is still there.
I also want to add that it can be triggered with simple dead keys (e.g. sequences 'a, ˇr or ¨u to type á, ř or ü end up with 'á, ˇř or ¨ü), full IME is not necessary here.
Hello, i have the same problem. Can we help somehow? Send PR? Thank you for answer.
Hi, I have tried v2.0.7 which is released this two weeks ago and the problem is still there. Is there any progress or update regarding this issue? Thx
hello @afcapel , is there any progress~? we are still having this issue
@sw-joechen not that I’m aware of, but PRs are welcomed.