-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When filling in a piece of content, repeatedly switching buttons will add multiple empty p tags #69
Comments
Hi @leevane |
2023-12-17.20-59-05.mp4introduce:Entering a few paragraphs of text in the editor and repeatedly clicking the "Show HTML source" button will result in multiple duplicate empty p tags |
Thank you @leevane 🙏 I can't seem to reproduce this using the latest version Kapture.2023-12-18.at.09.40.07.mp4Can you also please give me the:
This information will make it easier to determine the issue 🙏 |
I have a same problem. In my case, there is no problem if there is no empty record.mp4Info :
Other plugins
|
Sorry. I was wrong. record2.mp4 |
Hi @keunrim I've just added the demo for Can you reproduce the issue in this demo? ^ Source code is in this repository here -> https://github.com/benwinding/quill-html-edit-button/tree/50425cb9d4c68b0fa62b5037bc02dbccd078aa62/demos/react |
Hi @benwinding I think I have found the cause of the problem. I couldn't find the problem in your demo, so I compared your source code with mine. When I exited HTML mode with preserveWhitespace enabled, all whitespace was reset and the |
We have very specific scenario we need supported we want our HTML text we enter to remain completely unchanged by Quill
|
When filling in a piece of content, repeatedly switching buttons will add multiple empty p tags
The following 2 pictures:
After switching repeatedly:
![image](https://private-user-images.githubusercontent.com/5063729/290834797-1ccfc445-14c6-4782-b786-24527b19dca1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3MTEwMTIsIm5iZiI6MTcxOTcxMDcxMiwicGF0aCI6Ii81MDYzNzI5LzI5MDgzNDc5Ny0xY2NmYzQ0NS0xNGM2LTQ3ODItYjc4Ni0yNDUyN2IxOWRjYTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYzMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MzBUMDEyNTEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGE4YmJkNzZhY2JmNjQxYjI0OWFlODlhMWYzNTYwYjdlNTU0ZmVlYTc3MTg0ZDFjZTc1ZTMwZDU2ODAyZGM4NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.y7fKPRUx3whqiqF4_tpoRmCJM7x8ZJolXbwxhDDdiGU)
The text was updated successfully, but these errors were encountered: