Horizontal Line RTE-Plugins in AEM 6.5 Text Component | Community
Skip to main content
November 28, 2023
Solved

Horizontal Line RTE-Plugins in AEM 6.5 Text Component

  • November 28, 2023
  • 2 replies
  • 809 views

Hi All,

I am having requirement to add Horizontal Line RTE-Plugins between the content, with in the text component of AEM 6.5.

 

I am attaching screenshot from Drupal, the same i need to implement in Aem.

 

Any leads or examples that align with this specific requirement would be greatly appreciated.

Thank you in advance for your assistance.



This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi @rah1602jais 
You can add hr in paraformat node

 

e.g.

<paraformat jcr:primaryType="nt:unstructured" features="*"> <formats jcr:primaryType="nt:unstructured"> <default_h2 jcr:primaryType="nt:unstructured" description="Heading 2" tag="h2" /> <default_h3 jcr:primaryType="nt:unstructured" description="Heading 3" tag="h3" /> <default_h4 jcr:primaryType="nt:unstructured" description="Heading 4" tag="h4" /> <default_blockquote jcr:primaryType="nt:unstructured" description="Quote" tag="blockquote" /> <default_pre jcr:primaryType="nt:unstructured" description="Preformatted" tag="pre" /> <default_hr jcr:primaryType="nt:unstructured" description="Horizontal Ruler" tag="hr" /> </formats> </paraformat>

 

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
November 28, 2023

Hi @rah1602jais 
You can add hr in paraformat node

 

e.g.

<paraformat jcr:primaryType="nt:unstructured" features="*"> <formats jcr:primaryType="nt:unstructured"> <default_h2 jcr:primaryType="nt:unstructured" description="Heading 2" tag="h2" /> <default_h3 jcr:primaryType="nt:unstructured" description="Heading 3" tag="h3" /> <default_h4 jcr:primaryType="nt:unstructured" description="Heading 4" tag="h4" /> <default_blockquote jcr:primaryType="nt:unstructured" description="Quote" tag="blockquote" /> <default_pre jcr:primaryType="nt:unstructured" description="Preformatted" tag="pre" /> <default_hr jcr:primaryType="nt:unstructured" description="Horizontal Ruler" tag="hr" /> </formats> </paraformat>

 

Arun Patidar
kautuk_sahni
Community Manager
Community Manager
November 28, 2023

@rah1602jais 

Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni