Paul Haines
Top achievements
Rank 1
Paul Haines
asked on 28 Apr 2009, 03:21 PM
What does anyone know about the following behaviour?
A RadEditor has been set up to only show its 'Design' edit mode, (as we don't want our users seeing HTML - they're not that technically savvy), but also had its "statistics" module enabled within the "bottom" docking zone; we have a requirement for including this information.
The module isn't displayed because it seems to hide the entire row that includes this docking zone when only one mode is set. I can verify this by adding a second "edit mode" and both the buttons and module are displayed as desired.
It's fairly important that we find a way around this limitation, (or is it a design feature?), because of our project's requirements.
Thanks,
Paul
A RadEditor has been set up to only show its 'Design' edit mode, (as we don't want our users seeing HTML - they're not that technically savvy), but also had its "statistics" module enabled within the "bottom" docking zone; we have a requirement for including this information.
The module isn't displayed because it seems to hide the entire row that includes this docking zone when only one mode is set. I can verify this by adding a second "edit mode" and both the buttons and module are displayed as desired.
It's fairly important that we find a way around this limitation, (or is it a design feature?), because of our project's requirements.
Thanks,
Paul
5 Answers, 1 is accepted
0
Accepted
Hi Paul,
Please, set the DockingZone attribute of the RadEditorStatistics module to "Modules", e.g.
<telerik:radeditor runat="server" ID="RadEditor1" EditModes="Design">
<ImageManager ViewPaths="~/Images" UploadPaths="~/Images" />
<Modules>
<telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" DockingZone="Modules" />
</Modules>
</telerik:radeditor>
This should display the RadEditorStatistics module on the page.
Sincerely,
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.
Please, set the DockingZone attribute of the RadEditorStatistics module to "Modules", e.g.
<telerik:radeditor runat="server" ID="RadEditor1" EditModes="Design">
<ImageManager ViewPaths="~/Images" UploadPaths="~/Images" />
<Modules>
<telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" DockingZone="Modules" />
</Modules>
</telerik:radeditor>
This should display the RadEditorStatistics module on the page.
Sincerely,
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.
0
Brian Doner
Top achievements
Rank 1
answered on 04 Jun 2009, 06:30 AM
Hi, I had the same issue and found this thread, and the solution does work. But I would also like to display the ToggleScreenMode and Zoom in the bottom toolbar. But if I set its dockingZone="Bottom", then it doesn't display. If I set it to "Modules", then the two tools get displayed in the toolbar section above the content. And as described above, nothing is displayed if the RadEditorStatistics module is set to Bottom. How can I keep it as EditMode="Design" (only the one item) and still display the bottom toolbar with the tools mentioned along with the statistics?
<
modules>
<
module name="RadEditorStatistics" dockingZone="Modules" enabled="true" visible="true"/>
</
modules>
<
tools name="EnhancedEditToolbar" dockingZone="Modules" enabled="true" visible="true">
<tool name="ToggleScreenMode" shortcut="F11" />
<
tool name="Zoom" />
</
tools>
0
Brian Doner
Top achievements
Rank 1
answered on 04 Jun 2009, 06:34 AM
Also, the editor is doing something to my tags in the previous reply. The tags were nice and neat, but when I submitted, it then displayed them with lots of space and line breaks. I went in to edit it, cleaned it up again, and the same thing happened when I submitted it again.
0
Brian Doner
Top achievements
Rank 1
answered on 05 Jun 2009, 01:39 AM
Are there any suggestions on how to make this work?
0
Hi Brian,
If you would like to display RadEditor as in the attached screenshot do the following:
1) Do not set EditMode="Design" but hide the three mode buttons by setting the following classes on the page with the editor:
2) Configure the ToolsFile as follows:
For your convenience I have attached my test files.
Sincerely,
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.
If you would like to display RadEditor as in the attached screenshot do the following:
1) Do not set EditMode="Design" but hide the three mode buttons by setting the following classes on the page with the editor:
| <style type="text/css"> |
| .reMode_design, .reMode_html, .reMode_preview |
| { |
| display: none !important; |
| } |
| </style> |
2) Configure the ToolsFile as follows:
| <root> |
| <modules> |
| <module name="RadEditorStatistics" dockingZone="Bottom" enabled="true" visible="true"/> |
| </modules> |
| <tools name="EnhancedEditToolbar" dockingZone="Bottom" enabled="true" visible="true"> |
| <tool name="ToggleScreenMode" shortcut="F11" /> |
| <tool name="Zoom"/> |
| </tools> |
| </root> |
For your convenience I have attached my test files.
Sincerely,
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.
