Technical support This forum is closed.
Version 1.x > Technical support > Limiting Character size in HTML editor View modes: 
User avatar
Member
Member
mk - 9/20/2005 8:11:41 AM
   
Limiting Character size in HTML editor
Hi,

Can we limit the size of characters in the HTML editor used for making editable regions in Kentico. If yes, then how?

manish

User avatar
Guest
admin - 9/21/2005 7:39:28 AM
   
Re: Limiting Character size in HTML editor
Hi,

unfortunately, there's no reliable way how to limit the font size. You would need to use a simple TextArea instead.

If you're asking about limiting the maximum length, you can specify the maximum number of characters in the MaxLength property of the CMSEditableRegion control.

Best Regards,

User avatar
Member
Member
mk - 9/22/2005 10:03:35 AM
   
Re: Limiting Character size in HTML editor
Hi,

Yes, I ment to ask abt the maximum length only. I have tried specifying maxLength property of the CMSEditableRegion but it is not restrincting the display of text upto that limit.

In the CmsDesk I enter excessive text in the editable region editor and limit the max length through the above mentioned property but can't have desired results, instead all the text is being displayed on the page.

Can we restrict the length of text ? because when the length increases excessively then the design of the webpage is distorted.

Kindly guide me through this.

Regards,
Manish

User avatar
Guest
admin - 9/26/2005 10:56:25 AM
   
Re: Limiting Character size in HTML editor
Hi Manish,

do you receive any message when trying to save the text whose length exceeds the specified number of characters? You should get an error message saying:

The maximum length is X characters.

Regards,