You are here:
HTML Requirements for Manually Edited Content
The agentic content code editor supports standard and workspace-specific HTML tags. Review the required data attributes so that manually added or edited HTML elements stay selectable and editable in the visual editor.
Required Data Attributes
To keep a manually added or edited HTML element selectable and editable in the visual editor, include these custom data attributes on the element.
| Attribute | Description |
|---|---|
data-contentblock-id="<unique-id>" |
A unique identifier for the content block. Use a different value for each element that you add, and don't reuse an ID that's already used elsewhere in the content. |
data-contentblock-name="<block-type>" |
The type of content block, for example, paragraph. |
data-contentblock-editable="true" |
Marks the element as editable in the visual editor. |
<p>
tag, without these data attributes, the content isn't selectable or editable.Example
This example shows a manually added paragraph with the required data attributes.
<p data-contentblock-id="paragraph_kgvwowpgm" data-contentblock-name="paragraph"
data-contentblock-editable="true">Your text here</p>For general steps on editing content manually, see Edit Content Manually.
