Skip to content

Conversation

@MaciejDabek
Copy link

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.

@jankapunkt
Copy link

I think this is the best solution for the problem and is future proof due to extensibility.

@PieterJanCl
Copy link

Would love to see this PR approved, just like many others we are having troubles with the &nbsp chars.

@vincentdchan
Copy link

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!

@jankapunkt
Copy link

@vincentdchan based on what information you do assume this repo is not active? I'd like to know and potentially kick off a discussion

@vincentdchan
Copy link

@jankapunkt I think it ready has discussions about it. You can check this #4622 #4636

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants