---
schema_version: "1"
id: d86c20ba0773e98fcc6527ee38e49637eb40814c3d2815b33650f01c2f7ea8ae
title: HTML Requirements for Manually Edited Content
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mktg_ac_html_editing_ref.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mktg_ac_html_editing_ref.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e7168db99ab117415ad5bbeb9f242142935fc57507f56dbe12108da5e8216de5
description: 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.
products:
  - Marketing
release: "264"
---
# 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. |

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mktg_all-264-0-0-production-enus/e92be4e1-4bef-47a5-a11d-95f4ea1f7d7a/images/icon_note.png)

Note If you manually add an HTML element, such as a `<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](https://help.salesforce.com/s/articleView?id=mktg.mktg_ac_edit_manual.htm&release=264.0.0&type=5 "Edit generated content for email and messaging channels directly for precise messaging and design control, including HTML, CSS, and image updates. Select an element in the canvas, such as text, an image, or a button, to reveal editing tools available for that element.").