Open Vittor-Emanoel opened 5 months ago
same issue here...
Perhaps you have a basic misunderstanding of how RTE work. Presentation on a webpage is controlled by that page's CSS. Thats not going to come into quill (or any editor for that matter). Only the pure HTML tags with content will come in, as they should. HTML tags are further controlled by which tags are actually allowed to be pasted in (formatting)
Hello!
I'm encountering an issue while developing a project using Quill.js with React. When pasting emails and stylized tables, the HTML gets cleaned, thus losing all styling. What is the best way that Quill offers for proper presentation in these cases?
I tested the 'quill-paste-smart' library and it didn't help 😒ðŸ˜
Steps for pasting email
Reproduction
Expected
Observed
Sample video of pasting the email: https://github.com/quilljs/quill/assets/55211291/95576dd5-6a42-451c-a292-e5a43e97670b
Steps for pasting the table
Reproduction
Expected
Observed
Sample video of pasting the email: https://github.com/quilljs/quill/assets/55211291/11351818-d670-4a00-9f08-928991e86ff9