Zihua Li

Results 343 comments of Zihua Li

I tried v1.3.7 on https://quilljs.com/standalone/full and seems it also works. > delta.length() returns 2 This is expected as there is a trailing `\n` char.

Thanks for the details. However I'm not sure if I understand the issue here. The codepen gives the correct results: ![CleanShot 2024-02-04 at 12 42 53@2x](https://github.com/quilljs/quill/assets/635902/276c8c20-5480-46e8-bd22-19a4dea4c814) It's expected that the...

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...

@KeithGillette I believe @samypr100's approach has been documented now: https://v2.quilljs.com/docs/modules/syntax

I encountered a similar issue with the latest version (v0.11.0) where all my fragments are reported as "Unknown". Downgrading the extension to v0.9.3 fixes the issue. However, both versions show...

It's caused by timeouts at the connecting stage. You can try to increase the `connectTimeout` option. ioredis does emit errors silently. Isn't that what you've encountered?

A quick solution would be checking if the language of a char uses spaces as word boundaries. (e.g. `/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/gu`) and split by chars for those languages.

Delta inserts can be arbitrary objects as well (e.g. `{ insert: { image: 'https://' } }`) so that's the reason we use `cloneDeep`. I understand that in your case you...

Good catch! You can either import `Delta` via `Quill.import()` and `import { Delta } from 'quill/core';` but we should support `import { Delta } from 'quill';`

Sorry for the delay! Should it be considered as a breaking change?