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

Limiting Dimensions of Editable Area

1 Answer 61 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alp
Top achievements
Rank 1
Alp asked on 15 Feb 2009, 02:31 PM
Hi,

Is there anyway to specifically limit the dimensions of the editable area in rad editor? I am planning to use the editor in a portal application, and user will be editing parts of portal blocks; which are fixed in width and height. If I can limit the width and height of the rad editor's editable area, the user might know how the content will look in portal exactly while editing it in the rad editor. For instance, knowing where the line breaks will appear, or if the image will fit etc.

Setting the extarnal dimensions of the editor won't work because the toolbars change position according to the width; sometimes two toolbars appear next to each other in same line, but sometimes (depending on the editor width they appear on seperate lines, thus reducing the height of content area.

Any help is appreciated.

Thanks

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Feb 2009, 08:10 AM
Hello Alp,

You can control the toolbar width by setting the ToolsWidth property to the desired size in pixels. You can also limit the toolbar buttons by loading a limited toolbar via the ToolsFile property.
For your convenience I have attached a ToolsFile.xml file containing only a limited set of tools.

Greetings,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Alp
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or