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

4 replies

Level 4
April 6, 2022

Rte doesn't support max length you need to write custom js code for that  .

Please find the reference  

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maxlength-property-for-richtext-touch-ui/td-p/242529

Translate
Level 4
April 6, 2022

Hi 

Thanks For reply.

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

Translate
Anmol_Bhardwaj
Community Advisor
Community Advisor
April 6, 2022

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: 

http://jsfiddle.net/poikl/AvH3Q/

Translate
Level 4
June 1, 2022

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

Translate