Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Clicking Enter key to go to new line retains Heading tags (H1, H2..H4) in CF Richtext.

Avatar

Community Advisor

Clicking Enter key to go to a new line retains Heading Tags in Content Fragment Richtext. Is there a way to have a paragraph tag as soon as we click enter to go to a new line (similar to Microsoft word)?

Note: Shift+Enter breaks line but retains formatting (AEM 6.5.14.0)

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Bhuwan_B 
I think, the behaviour is same for component RTE as well.

chrome-capture-2023-2-2-1.gif

Arun Patidar

AEM LinksLinkedIn

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Bhuwan_B 
I think, the behaviour is same for component RTE as well.

chrome-capture-2023-2-2-1.gif

Arun Patidar

AEM LinksLinkedIn

Avatar

Community Advisor

@Bhuwan_B I think the only option is to use the paragraph format option on the right side of the RTE for changing it back to paragraph as it persists in its selection until changed manually.

Shift+Enter adds a <br/> tag instead of creating a new element.

Manu_Mathew__0-1677818430116.png