As part of our theme, we have some custom elements defined, including an expandable "accordion" and a tab set. These are present as classes in our CSS, and we have historically had to manually add the HTML to implement them in our content. As a test, I created a new tab set in a test article and then saved it as a content block. My intention was to create a reusable object that I could insert, unlink, and then modify, so that our team can avoid the manual coding required to implement the tab set.
When I saved the content block, I saw a notification that the content had been "sanitized", and when I inserted the content block in a new location, I saw that all of the HTML supporting the tab set had been removed, leaving only the text. I then went on to test some of our other custom but less complex formatting (a colored callout) and found that the same thing occurred. The content had been "sanitized" and the HTML supporting the callout had been removed.
In our organization, the content that we would want to reuse will often include this kind of custom, css-driven formatting, so we'd prefer that this be supported and not stripped out.
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.