In the WYSIWYG editor, any HTML tags can be inserted via the source code input (<> button). In the past, this was occasionally used to integrate HTML code for external components, e.g., via iframe
from social media platforms.
However, such HTML code should never be inserted in the WYSIWYG editor, but rather via a media element or flexible content.
Embedding in the WYSIWYG editor causes a number of problems! They...
- ...ignore the user's cookie and privacy settings.
- ...often do not work on mobile devices.
- ...often do not fit into the design.
Such “undesirable” HTML tags as iframe, embed, object, video, template, fencedframe, frame, frameset, script
, and link
are now automatically removed!
If such an HTML tag is inserted in the WYSIWYG editor, it will be removed immediately and without warning. Therefore, these HTML tags can no longer be used in the WYSIWYG editor.
If you absolutely need HTML on your page that is “undesirable” in the editor, use flexible content instead.
Notes:
- Removal takes place during editing in the editor.
- “Unwanted” HTML that is already present in content will continue to function until the content is edited again in the editor.
- The settings for “unwanted” HTML can be configured individually depending on the OpenCms installation.