-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Invalid delta Length
and also Delta.slice()
breaks latin unicode char in two parts e.g. ő
#3074
Comments
I think the issue has been fixed. Can you try the playground link? |
Hi @luin , RE: This issue |
I tried v1.3.7 on https://quilljs.com/standalone/full and seems it also works.
This is expected as there is a trailing |
hmmmm... 🤔 ... that's odd... It's been a while I've created this issue, as this repo was dying I lost hope of some answers from the maintainers.... Not sure why it happened on my case... |
okay, I tried to reproduce the problem a bit... It seems like it can be a copy pasting issue which doesn't work when I work the character from outside of quill.... here's a screencast... quill-issue.webmI also tried to find out the length issues in quill for this character... see this codepen... https://codepen.io/khaled4vokalz/pen/YzqWjgv?editors=0012 As you can see there's a discrepancy how emoji lengths are treated and how this character gets treated in regards to length.. |
Hi @luin , |
Thanks @khaled4vokalz ! I can reproduce it but looks like the native contenteditable also has the similar behavior (you can reproduce in codepen's code editor) so don't feel strongly that it's a Quill bug. Feel free to lmk if I missed anything. |
Quill 2.0 has been released (announcement post) with many changes and fixes. If this is still an issue please create a new issue after reviewing our updated Contributing guide 🙏 |
Steps for Reproduction
Expected behavior:
Actual behavior:
Platforms:
Ubutnu, Chrome
Version:
1.3.7
The text was updated successfully, but these errors were encountered: