Announced on | Rollout starts | Rollout ends |
January 18, 2024 | January 18, 2024 | January 18, 2024 |
We are excited to share that we are expanding the support for HTML tags in the content blocks editor.
This announcement includes the following topics:
What’s changing, and why?
If you like working with the source code editor in your articles and content blocks, you’ve probably noticed that some of the elements supported in articles were not supported in content blocks. This means that even if you added the unsupported element to the content block’s source code editor, it disappeared when you published the article.
With this release we are expanding the support for HTML tags in content blocks so that you can use the same elements across both of the editors.
We are also allowing for adding classes on all HTML elements in content blocks, not only <div> elements.
How will this affect me?
After this change we support following tags in content blocks:
`a`, `abbr`, `address`, `aside`, `bdi`, `bdo`, `blockquote`, `br`, `caption`, `cite`, `code`, `col`, `colgroup`, `data`, `dd`, `del`, `details`, `dfn`, `div`, `dl`, `dt`, `em`, `figcaption`, `figure`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `hr`, `iframe`, `img`, `ins`, `kbd`, `li`, `mark`, `ol`, `p`, `pre`, `q`, `rp`, `rt`, `ruby`, `s`, `samp`, `small`, `source`, `span`, `strong`, `sub`, `summary`, `sup`, `table`, `tbody`, `td`, `tfoot`, `th`, `thead`, `time`, `tr`, `track`, `ul`, `var`, `video`
We are also adding classes and ids on all supported elements.
What do I need to do?
You don’t need to take any action. If you are an Enterprise customer, you can start using the new HTML tags in the content blocks editor immediately. For more information, see Editing the source code of help center articles. If you would like to learn more about Content blocks see Reusing content with content blocks.