Expand my Community achievements bar.

SOLVED

Nested lists in RTE

Avatar

Level 1

Hi Team,

Currently working in AEM 6.3 ENV and have a requirement to add nested lists in RTE plug-in. I have gone thru some of the online documentation and below lists available for RTE

lists#unordered   -->bullets

lists#ordered      -->numbers

lists#outdent

lists#indent

but for nested list don't have any information.

Example nested lists

  1. Fdgddgggnffgh

           (1) Fdgffhgfhdg

                    (a) Gfgfghffghhg

If any one implemented nested lists in RTE, please give me some inputs.

Thanks,

RR

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi you can use existing list to create nested list like below:

Screen Shot 2018-06-01 at 2.54.44 PM.png

Thanks

Arun



Arun Patidar

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

Hi you can use existing list to create nested list like below:

Screen Shot 2018-06-01 at 2.54.44 PM.png

Thanks

Arun



Arun Patidar

Avatar

Level 10

@arunp99088702 provided the correct response. Use the functionality provided.

Avatar

Level 1

Thanks Arun. Our requirement is to use Numbers, Roman and English letters in list.  Like below

    (i)List1

           (1) List1

                    (a) List1

     (ii)List2

           (1) List1

                    (a) List1

Is this feature available in AEM 6.3 RTE plug-in? (OR) It possible to implement this type of requirement in AEM?

Thanks,RR

Avatar

Community Advisor

AEM OOTB it is not possible but you can implement it with CSS.

1. First create list like above as I suggested.

2. Write CSS rule for nested list like below:

.someClass ul {list-style-type: lower-roman;}

.someClass ul ul{list-style-type: decimal;}

.someClass ul ul ul{list-style-type: lower-alpha;}

Thanks

Arun



Arun Patidar

Avatar

Level 1

Thanks, Arun. I will check this new solution.