Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

How to set limit to RTE for limited chars

Avatar

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

Avatar

Level 4

Hi 

Thanks For reply.

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

Avatar

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: 

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