This is a migrated thread and some comments may be shown as answers.

radeditor lite increase height of textarea

3 Answers 64 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 10 Nov 2008, 04:02 PM
I had been trying to solve an issue with the radeditor lite for sharepoint where the textarea height was too small and any changes to the config.xml files did not help.

The workaround I came up with was to add the following line to our master.css file which is pulled in throughout our sharepoint site.
td.RadEContentContainer iframe {height:300px !important}

Tom

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Nov 2008, 05:19 PM
Hello Tom,

You can control the editor size by modifying the ConfigFile.xml / ListConfigFile.xml file in \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\xxxxxx\RadControls\Editor\ on your server.

Tthe width and height are set in the following way:

  <property name="Height">240px</property>
  <property name="Width">500px</property>

you can increase these values or you can experiment with percent values (e.g. 100%) and see if the editor will stretch to fill the available space.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Tom
Top achievements
Rank 1
answered on 12 Nov 2008, 05:52 PM
Changing the config files did not make any change to the height of the textarea/iframe. My point was that the line of CSS I previously posted, did increase the height of the textarea/iframe.
0
Rumen
Telerik team
answered on 12 Nov 2008, 06:05 PM

Thank you for sharing your workaround, Tom!

It is possible that some global css style is resizing the content area on your side. In this case, your workaround is the only possible way to solve it, except of removing the global class.

Kind regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Tom
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Tom
Top achievements
Rank 1
Share this question
or