How to have an ordered or unordered list with headings and paragraphs in it? | Community
Skip to main content
Level 2
July 6, 2022

How to have an ordered or unordered list with headings and paragraphs in it?

  • July 6, 2022
  • 3 replies
  • 1383 views

Paraformat is getting disabled after using list with headings


 

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

3 replies

SantoshSai
Community Advisor
Community Advisor
July 6, 2022

Hi @vvl1 ,

OOTB component works well, It looks like some issues in your customized component. Can you please check if there is any overriden JS causes this issue? Also check if any error in developer console.

Regards,

Santosh

Santosh Sai
vvl1Author
Level 2
July 6, 2022

There is no  existing overriden JS and its AEM 6.5 version

ShaileshBassi
Community Advisor
Community Advisor
July 7, 2022

@vvl1 Tested it on AEM 6.5.0 and 6.5.12, it is working as designed. PFB the screenshot.

As suggested by @santoshsai please check for the js error if any in the developer console.

 

But if you are looking foward for the ordered list and that having the heading and paragraph below it 

e.g. 

In this case you need to create something custom and OOTB will not work over here, as for both ordered and unordered field a new <ul> or <ol> tag will be created if there is a break in between

Thanks

 

 

Jagadeesh_Prakash
Community Advisor
Community Advisor
July 7, 2022

@shaileshbassi  and @santoshsai 

I guess i understood the question here. @vvl1  wanted to have the headings inside the List.

 

For ex: as shown below the highlighted one should in headings and the next content in a paragraph.

 

Even when i tried with OOTB seems like an issue for me also. On trying to highlight the heading the paraformat is disabled.

 

 

Manu_Mathew_
Community Advisor
Community Advisor
July 7, 2022
vvl1Author
Level 2
July 7, 2022

@manu_mathew_ it is a product issue. Is there any way to override it through js?

vvl1Author
Level 2
July 11, 2022

@vvl1 

It is never advisable to over lay the OOTB JS and write the custom functionality for the same. Only if any validations are required we can do it or else we should not.

 

Recommend you to write a custom component to achieve this. As follows

 

  1. Heading title with RTE
  2. And an multifile with Heading RTE
  3. And followed up with paragraph RTE

Thank you for the Suggestion.
This helps