Hi,
I am using RadEditor in a preview page. I configured EditModes as "Preview":
<telerik:RadEditor ID="editor1" runat="server" Width="100%" EnableResize="false"
Height="100%" OnClientLoad="OnClientLoad" EditModes="Preview">
<Tools>
<telerik:EditorToolGroup>
</telerik:EditorToolGroup>
</Tools>
</telerik:RadEditor>
and in OnClientLoad event, set it as full screen:
function OnClientLoad(editor) {
editor.fire(
"ToggleScreenMode");
}
The problem is that after toggle to full screen mode, the editor become editable, while I am expecting the editor still in Preview mode. How do I set back to preview mode in client side (JavaScript), or is there other way to set to full screen without impacting edit mode? In this page, I only need keep the editor in preview mode (and zoom the contect).
I tried with following command (javascript) in OnClientLoad function, but it does not work:
editor.EditModes = Telerik.Web.UI.EditModes.Preview;
My other question is if can keep the editor in preview mode, and leave zoom command available?
Thank you very much,
Junbin