Maxlength in text content don't count html tag.

Hi Syncfusion Team,

I set maxlength for richtext editor = 164. When typing 164 characters in text content and saved value emits 468   characters. Because the max length of richtext doesn't count HTML tag, the value of richtext instance of HTML tag.

ex: input value: The ng add command will install Angular Material, the Component Dev Kit (CDK), Angular Animations and ask you the following questions to determine which features to

Output value: <p><span style=\"color: rgb(0, 0, 0); font-family: "Segoe UI", "Open Sans", Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; text-align: start; text-indent: 0px; white-space: normal; background-color: rgb(245, 245, 245); display: inline !important; float: none;\">The ng add command will install Angular Material, the Component Dev Kit (CDK), Angular Animations and ask you the following questions to determine which features to</span></p>

Can you support the new property max length count HTML tag for richtext editor?

Regards.


3 Replies

BS Buvana Sathasivam Syncfusion Team June 1, 2022 10:16 AM UTC

Hi Lam,


Greetings from Syncfusion support.


We have considered "Provide support for calculating maximum count based on HTML tags in Rich Text Editor" as an feature request from our end. This support will be included in any one of our upcoming releases. 


You can now track the current status of the report, review the proposed resolution timeline, and contact us for any further inquiries through this link: 

https://www.syncfusion.com/feedback/35332/provide-support-for-calculating-maximum-count-based-on-html-tags-in-rich-text


Regards,

Buvana S



LL Lam Le replied to Buvana Sathasivam June 7, 2022 03:24 AM UTC

Thanks, for your support for me.



BS Buvana Sathasivam Syncfusion Team June 8, 2022 07:04 AM UTC

Welcome. Please get back to us if you need any other assistance.


Loader.
Up arrow icon