2 years ago
#52788
user9020594
Tiny MCE v5.10.2 adds <br> tag in empty DIV tags
I am trying to display some html in the Tiny MCE editor v5.10.2.
My HTML has some blank DIVs with our custom classes. However on setting the content on Editor, tinymce add
inside those empty divs. I have tried almost all config settings, but none of them has worked. This is very critical for me as I am migrating from Medium Editor to Tinymce, so already have tonnes of such templates which cannot be changed. I have attached an image explaining the same.
tinymce
tinymce-5
0 Answers
Your Answer