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
In file /admin/src/components/Input/CKEditor/configs/base.js line 292 there is the definition of the htmlEmbed.sanitizeHtml method. It is using the sanitize-html module with default settings. I would like to extend the sanitizer settings, but I can't do that in ckeditor.txt because that gets executed in the browser, so npm packages are not available. How could I change the sanitiser options?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
In file /admin/src/components/Input/CKEditor/configs/base.js line 292 there is the definition of the htmlEmbed.sanitizeHtml method. It is using the sanitize-html module with default settings. I would like to extend the sanitizer settings, but I can't do that in ckeditor.txt because that gets executed in the browser, so npm packages are not available. How could I change the sanitiser options?
Beta Was this translation helpful? Give feedback.
All reactions