attr maxLength not sent to client except when widget supports it
Simple though effective advise
When using a rich text widget ALWAYS set attribute length to unlimited. Since formatted text contains HTML tags. Making a simple text bold will result in reasonable amount of extra characters.