Forum Post: Re: Text Area Rows And Columns Setting Has Not Effect On The Rich Text Html...

  • Thread starter Thread starter Mohammed Siraj
  • Start date Start date
Status
Not open for further replies.
M

Mohammed Siraj

Guest
In New UI, TextArea field which is rendered as Rich Text Editor has been re-done using kendo controls & does not honor rows & cols settings. Instead, to set dimension of TextArea - Rich Text Editor control, set dimensions on a wrapper div with class identifier 'rbs-editField-valueContainer-richTextEditor'. Eg (via scripts): var fieldContext = rbf_getFieldContext('TextAreaR'); //textArea field integration name if (fieldContext) { var textAreaEl = fieldContext.getNode(); var wrapperDiv = textAreaEl && textAreaEl.closest('.rbs-editField-valueContainer-richTextEditor'); if (wrapperDiv) { wrapperDiv.width('50%'); } } Eg (via stylesheet): //will apply for all rich text editor controls in a page.. .rbs-editField-valueContainer-richTextEditor { width: 50%; }

Continue reading...
 
Status
Not open for further replies.
Back
Top