modxcms / tinymce-rte

GNU General Public License v2.0
14 stars 23 forks source link

Strange tag filtering setting #137

Open Ruslan-Aleev opened 6 months ago

Ruslan-Aleev commented 6 months ago

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 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.

Environment

TinyMCE Rich Text Editor 2.0.9