Decrease the height of Richetext in Touch UI Dialog | Community
Skip to main content
Level 4
January 16, 2019
Solved

Decrease the height of Richetext in Touch UI Dialog

  • January 16, 2019
  • 5 replies
  • 2983 views

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.

Note that , I am using AEM 6.4

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

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

-rem units

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

5 replies

smacdonald2008
Level 10
January 16, 2019

This is not an OOTB feature of the RTE.

Level 4
January 16, 2019

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 .

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
January 16, 2019

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

-rem units

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

Level 4
January 16, 2019

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 ?

Level 4
January 16, 2019

Dear All,

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

Thanks a lot for your help.