詳細情報:
手動で編集したコンテンツの HTML 要件
エージェント型コンテンツコードエディターでは、標準およびワークスペース固有の HTML タグがサポートされます。手動で追加または編集した HTML 要素をビジュアルエディターで引き続き選択および編集できるように、必要なデータ属性を確認します。
エージェント型コンテンツコードエディターでは、標準およびワークスペース固有の HTML タグがサポートされます。手動で追加または編集した HTML 要素をビジュアルエディターで引き続き選択および編集できるように、必要なデータ属性を確認します。
| 使用可能なエディション: Marketing Cloud Next Growth Edition または Advanced Edition が付属する Salesforce Enterprise Edition および Unlimited Edition |
手動で追加または編集した HTML 要素をビジュアルエディターで選択および編集可能にするには、要素に次のカスタムデータ属性を含めます。
| 属性 | 説明 |
|---|---|
data-contentblock-id="<unique-id>" |
コンテンツブロックの一意の識別子。追加する要素ごとに異なる値を使用し、コンテンツの他の場所ですでに使用されている ID を再利用しないでください。 |
data-contentblock-name="<block-type>" |
コンテンツブロックの種別 (paragraph など)。 |
data-contentblock-editable="true" |
ビジュアルエディターで要素を編集可能としてマークします。 |
<p> タグなどの HTML 要素をこれらのデータ属性なしで手動で追加した場合、ビジュアルエディターでコンテンツを選択または編集することはできません。次の例は、必須データ属性を使用して手動で追加した段落を示しています。
<p data-contentblock-id="paragraph_kgvwowpgm" data-contentblock-name="paragraph"
data-contentblock-editable="true">Your text here</p>コンテンツを手動で編集する一般的な手順については、「コンテンツの手動編集」を参照してください。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.