-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Randomly creates ghost lines when using IME input. #1821
Comments
I found the exact sequence to trigger it.
2024-03-21.5.52.07.mov |
can you please check this if this appears in native quilljs editor as well? because i am not doing special. it should be a quilljs issue. |
This problem does not occur in native quilljs, but it does happen if I directly import quill.js into Angular without using ngx-quill. |
but then there is nothing i can do. because i have no special handling in there that could produce this. Which quill version do you use? |
In your example, you can reproduce the same situation: My quill version is ^2.0.0-rc.3 |
strange. but i have no glue why this should happen. so if you have an idea. let me know |
I didn't reproduce it actually: https://share.slab.com/1y3BXNSs Also not sure why in your screencast, the placeholder presented when the caret is at the second line: https://share.slab.com/8hP0ZlY2. |
The strange caret position is the ghost line i talking about. XD Maybe it’s because Taiwan’s phonetic 注音輸入法 IME is rather special.... action detail video |
since then it is a general problem angular + quill + ime and is not related to this package here. It would be nice that this issue moves then somewhere it really belongs to :D |
I'm wondering how best to address this issue that's been significantly hindering the development of my project. I've attempted to raise it on the quill.js side, but it's been closed by @luin without much follow-up. Would it be appropriate to escalate this matter to the Angular team?" |
But Do you know What other Effects That will have. Because changing default angular/zone.js behavior is maybe not the Best idea. Maybe it is working now with your issue but Produces some more for others |
So i will add section for known issues and add there some hints about deactivating zonejs event on own risk. |
I added the section /~https://github.com/KillerCodeMonkey/ngx-quill?tab=readme-ov-file#known-issues |
I will close this because i will not globally unpatch events to avoid unexpected sideeffects in other apps |
When I input Chinese IME, the program randomly creates line breaks, and the generated blank lines cannot be deleted.
This only happens when used inside Angular, and it will not happen when imported directly into HTML.
in action video:
/~https://github.com/KillerCodeMonkey/ngx-quill/assets/44791594/d51f16ae-4ec4-4f0e-9d2b-d85125975182
The text was updated successfully, but these errors were encountered: