Add getSemanticHTML options & Add preserveWhitespace option to getSem…
As many people, I was also using quill for it HTML content, so it can be displayed somewhere else.
The addition of conversion from whitespace to was needed for consecutive copying and pasting, so my proposition is to add options object that can be extended for other cases. For now, I added preserveWhitespace that preserve all whitespaces if true, otherwise all whitespaces are changed to (default: false).
I hope that this can be a middle ground between pushing Quill forward and providing compatibility for all people using it for a long time.
I think this is the best solution for the problem and is future proof due to extensibility.
Would love to see this PR approved, just like many others we are having troubles with the   chars.
This is quite good. Would you mind creating a PR to this repo: https://github.com/vincentdchan/quill-next
Because the official Quill repository isn't active, I created a fork and have been maintaining it. Please take a look. If you submit a PR to my repository, I'll be happy to merge it!
@vincentdchan based on what information you do assume this repo is not active? I'd like to know and potentially kick off a discussion
@jankapunkt I think it ready has discussions about it. You can check this #4622 #4636