The component has a tinymcerte.valid_elements setting where you can set allowed tags and it is empty by default (which is already confusing).
For example, by default the span tag is cut out of the editor, I go to the settings, add a span, but now other tags are cut out, such as h1, which was not cut out before. Very confusing behavior.
Maybe it’s worth leaving only the setting, where all the working tags will be listed, and they can be changed?
I immediately see the available tags and can remove/add others. And not like now - wondering which tags are cut out by default.
Bug report
Summary
The component has a
tinymcerte.valid_elements
setting where you can set allowed tags and it is empty by default (which is already confusing). For example, by default thespan
tag is cut out of the editor, I go to the settings, add aspan
, but now other tags are cut out, such ash1
, which was not cut out before. Very confusing behavior.Maybe it’s worth leaving only the setting, where all the working tags will be listed, and they can be changed? I immediately see the available tags and can remove/add others. And not like now - wondering which tags are cut out by default.
Environment
TinyMCE Rich Text Editor 2.0.9