Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Horizontal Line RTE-Plugins in AEM 6.5 Text Component

Avatar

Level 1

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.

 

Rah1602Jais_0-1701173723324.png

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

Thank you in advance for your assistance.



1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Administrator

@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