Clicking Enter key to go to new line retains Heading tags (H1, H2..H4) in CF Richtext. | Community
Skip to main content
Bhuwan_B
New Participant
Mar 2, 2023 10:45 AM UTC
Solved

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

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)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Mar 2, 2023 4:23 PM UTC

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

Arun Patidar

2 replies

Manu_Mathew_
New Participant
Mar 3, 2023 4:42 AM UTC

@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.

 

 

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Mar 2, 2023 4:23 PM UTC

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

Translate
Arun Patidar