ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Edtior containing only HTML Comments will be removed in its entirety.

Open ducviethaboo opened this issue 1 year ago • 0 comments

When I didn't enable the HTML Comment plugin, all my HTML comments when editing content were removed, the problem was solved when I enabled the plugin, that's great. But I just ran into this issue with myself as well, the problem is when the editor only contains HTML comments, after switching to source editing mode, all HTML Comment will be remove. I don't know if this is a bug or a feature of HTML Comment so I'll temporarily type it as a bug, sorry for this. With CKEditor4, the comments will still be kept.

📝 Provide detailed reproduction steps (if any)

Switching between Source edting mode. Image

✔️ Expected result

Ckedtior4: Html comments still be kept. Ckedtior5: Html comments removed.

❌ Actual result

Ckedtior5: Html comments still be kept.

I can't find any related issue and don't have a solution for this problem, if anyone has encountered this problem please give me a solution, thank you for your attention !

ducviethaboo avatar Oct 10 '24 02:10 ducviethaboo