quill
quill copied to clipboard
Ctrl+A to select and copy text will missing html tag when only single line
Enter a h1 line, then press Ctrl+A to select all the text, and then press Ctrl+C to copy. The type/html in ClipboardEvent.clipboardData does not contain the h1 tag. Multiple h1 line is correct.
I found out that Ctrl+A to select all is not select all delta. It is always less 1 length than quill.getLength(). Is it because delta always end with \n? This maybe the reason why Ctrl+A + Ctrl+C miss the tag.