Is there a way to enable resizing but only when in 'Preview' edit mode? At the moment, it seems that resizing only works when editor is in 'All' edit mode. When set to a specific edit mode, the bottom of the editor (which allows resizing) disappears.
Thanks.
1 Answer, 1 is accepted
0
Ianko
Telerik team
answered on 09 Apr 2014, 11:43 AM
Hi Bernard,
You can enable the modules when only one mode is set by toggling their visibility via a client-side logic fired on the OnClientLoad event of the editor.
var resizeHandle = document.getElementsByClassName("reResizeCell")[0];
var moduleWrapper = resizeHandle.parentNode;
moduleWrapper.style.display = "";
editor.repaint();
}
</script>
Regards,
Ianko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.