Expand my Community achievements bar.

SOLVED

Decrease the height of Richetext in Touch UI Dialog

Avatar

Level 4

Dear All,

Can we decrease the height of Richetext in my dialog "or" can I specify the width and height of richetext in my touch UI dialog (cq:dialog) .

My requirement is the below one.

1669657_pastedImage_0.png

Note that , I am using AEM 6.4

1 Accepted Solution

Avatar

Correct answer by
Level 10
5 Replies

Avatar

Level 10

This is not an OOTB feature of the RTE.

Avatar

Level 4

Hi Donald,

Yes , I know this is not an OOTB feature of RTE. But my author wants the small height and width of RTE. So how can I achieve this requirement for RTE.

Can you please put some lights on this .

Avatar

Correct answer by
Level 10

Check Resizing Touch UI Component Dialogs - Blog - 6D Global 

-rem units

width="100rem"
height="30rem"

Avatar

Level 4

Hi Gaurav,

Thanks and I have used the below one in my JS and the height is reduced.

$(".cq-RichText.richtext-container").css("height","150px");

But This JS is not working in my carousel richtext. But it is working fine for richtext without Carousel.

Anything , I am missing here ?

Avatar

Level 4

Dear All,

Now it is working fine in carousel also . I had some typo mistake.

Thanks a lot for your help.