Ich verwende derzeit Rich Text Editor (RTE) in meinem AEM 6.2-Projekt. Ich möchte RTE konfigurieren, um Blockquote-Tag zu verwenden. Wie kann dies erreicht werden?Update RTE-Komponente zu Block Quotes in AEM verwenden
<blockquote>
Komponentencode:
<paraformat jcr:primaryType="nt:unstructured" features="*">
<formats jcr:primaryType="cq:WidgetCollection">
<p jcr:primaryType="nt:unstructured" description="Paragraph" tag="p"/>
<h1 jcr:primaryType="nt:unstructured" description="Heading 1" tag="h1"/>
<h2 jcr:primaryType="nt:unstructured" description="Heading 2" tag="h2"/>
<h3 jcr:primaryType="nt:unstructured" description="Heading 3" tag="h3"/>
<h4 jcr:primaryType="nt:unstructured" description="Heading 4" tag="h4"/>
<h5 jcr:primaryType="nt:unstructured" description="Heading 5" tag="h5"/>
<blockquote jcr:primaryType="nt:unstructured" description="Block Quote" tag="blockquote"/>
</formats>
</paraformat>
Referenz:
Dank.
Adding custom paragraph formats to RTE
Grundsätzlich überlagern Sie die RTE und erweitern das PARA Plugin durch die Einführung der neuen Elemente:
Was meinst du mit * configure *? Möchten Sie, dass RTE 'blockquote' als Option anzeigt oder soll 'blockquote' gerendert werden? Dies sind zwei verschiedene Probleme, daher fragen. –
Was ich meinte, war, RTE die 'blockquote' zu erlauben. – phemanthkumar28
Siehe meine Antwort unten. Ich habe beide Themen behandelt. Lassen Sie mich wissen, wenn Sie weitere Informationen benötigen –