backdrop-contrib / tinymce

Integration for the TinyMCE editor in Backdrop CMS
https://backdropcms.org/project/tinymce
GNU General Public License v2.0
2 stars 1 forks source link

Some notification messages with markup never displayed #54

Closed indigoxela closed 9 months ago

indigoxela commented 9 months ago

They don't work, get "swallowed" by the notificationManager, if they contain markup that's not allowed inside paragraph. Additionally there's console nagging.

Some image validation messages contain div, ul, li... As markup doesn't make much sense in these messages, maybe better strip all tags. (Per default these messages are supposed to get displayed in the B message container, where markup makes more sense.)

indigoxela commented 9 months ago

Super simple fix, actually.