Zihua Li
Zihua Li
Before Quill implements this, you can achieve a similar behavior via pure CSS ([Example](https://quilljs.com/playground/snow#codeN4Ig9AlgdgJgpgDwHQAsAuBbANiAXCAHhggDcACCGAXgB0Q5i0B7AJzoD4CxiT2ap+BAM4BjFhAAOaMkJYja4aPGQArIRy6jxUvlGFoAnlji6yZJAEcsAWgYRmLXCgCGQgBTsyAKlxMoWA2sRFAgsGABKJ1cPbzJPACMWSNx4uAAzVjgyYH4zMxE-NDgoNFwyOgAFAFcWLIBhAGUGsgksZxE4FCYwuBYkfroAbly8gqxWMoBiAE5Z4ag8lqYhewg-Mud4oW6qovmzAF9BMCFDY3YQABpFWEQkNTwQAqhTsgsq0KwyKjIoOAB3MgARQ+WCwbgA5JM7A4IZdsiMMEwYFVjEIyjkFnlmN14s5HGQANojRaE4BkFBwZzwAmEgCM8IATPC0s4sEI4ABdMgHTmXEl5QkQ+LdGBwsgQ+xsiAicUQqq3FhYaBwCF8gVmIUQDDOADmqvhEIK8Gs8XGIgA1mr+VizOqsQcbWYwGAWm0Ol0egSIXUmBgJMsss4FnAJDL+kg4SM0JSMHAyhChFAmP9xS6yKwJfEqvEzar+AdwoMQAcgA)). You have to tweak the style though e.g. increase the placeholder font size if the current...
A quick solution is to listen to `compositionstart` and clear the placeholder in the handler. Also restore the placeholder in `compositionend`.
The mention blot should set up `static value()` correctly. Currently it returns a HTMLElement. The returned value will be used in `Quill#getContents()`. You would also need to override `Quill#getText()` to...
Thanks for the details! Can you reproduce it when running without Angular?
Something could be related: https://github.com/quilljs/quill/pull/3972. The PR fixed a similar issue for Safari where the cause was the timing of `compositionend` is different in Safari.
Thanks for reporting this! Can you reproduce this in v2? https://quilljs.com/playground/snow
Thanks for reporting! Can you reproduce this in Chrome? I can't reproduce it with Mac + Chrome 122.
Sorry for the delay! I just started looking into this. I tried Chrome 120 on Window and Chrome 121 on Linux, but haven't reproduced the issue yet. Would be good...
Thanks for the details! Could you try out if the playground fixes your issue: [link](https://quilljs.com/playground/snow#codeN4Ig9AlgdgJgpgDwHQAsAuBbANiAXCAHhggDcACCGAXgB0Q5i0B7AJzoD4CxiT2ap+BAM4BjFhAAOaMkJYja4aPGQArIRy6jxU9iAA0i2IiRq8IEUyhDpARwCuELFjJUyUOAHcyARQdOAFADkAMQMEMwsgXpkwPxkZBhMMHZYcEK4MXHxZMxMWABGAIYsGQDaWdlkpcBkKHCF8CVVAIzRAEzRAGaFWEJwALpkAL79ehXZpYH5eTBRZIHhPRAic4F2RixY0HCBo+PxkxAYhQDmO9GBFvAAtPlYTCIA1rtjUJV7b8Ov8RJYhSJwFAzOBNQIAYSYGAkTD6ZEKbzgEmWSBRUSyaDqGDgGUCQigTA8czAYDIrHm+Ts+TuO34QwAlABufj8eyOLBIR5wACe02KMCQDRgACElNATv5Yp9OVyMgAWABs31q8JgqRY-hY8LO0QsUDQiDQdMyn3iGIgQlQKtSABE4Kl9RqtXAdZZ9QhDUzPkNaYyQEMgA). I added a key handler for 46 key code.
> the source code will have `` like it should after deleting that line with `del`. By `the source code`, do you mean the inner HTML in the `.ql-editor`? Can...