Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How to set limit to RTE for limited chars


Level 4

Hi everyone,

Max length props not working in RTE how i can set char limit to achieve that.


Thanks and Regards

Saurabh Kumar

4 Replies


Level 4


Thanks For reply.

I have tried this but it is not working for me.


Community Advisor

You would need to write custom JS to limit the characters in the RTE. And then include the JS in your dialog.


Here is a link for the JS:


Level 4

Hi @Anmol_Bhardwaj ,
If we use this JS then will not have full control on giving Input.