You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written a custom CKEditor widget, that has defined a couple editables (within the widget), each editable has its own "allowedContent", because I want to prevent users of widget to use any other markup such as youtube videos etc. in my custom widget.
All other plugins, styles get greyed out by the allowedContent settings on my widget, but the youtube plugin stays active.. I think the youtube plugin needs to have a "requiredContent" setting along with the "allowedContent" in the plugin.js.
I don't want to disable or remove the youtube plugin, as it is indeed very useful, I just want users to prevent using it within my widget ;)
Kind regards,
Dennis
The text was updated successfully, but these errors were encountered:
dnijssen
changed the title
Plugin remains "enabled" even when a widget editables allowedContent is set not allow any markup
Plugin remains "enabled" even when a widget editables allowedContent is set not to allow any markup
Jun 6, 2017
Hello,
I have written a custom CKEditor widget, that has defined a couple editables (within the widget), each editable has its own "allowedContent", because I want to prevent users of widget to use any other markup such as youtube videos etc. in my custom widget.
All other plugins, styles get greyed out by the allowedContent settings on my widget, but the youtube plugin stays active.. I think the youtube plugin needs to have a "requiredContent" setting along with the "allowedContent" in the plugin.js.
I don't want to disable or remove the youtube plugin, as it is indeed very useful, I just want users to prevent using it within my widget ;)
Kind regards,
Dennis
The text was updated successfully, but these errors were encountered: