I have a fixed position div on my page that sets at the top of the screen always. When I click "toggle fullscreen" from the rad editor the editor sits behind this div and the toolbar can't see seen. Surprising cuteeditor handled this fine. Any help with this would be super
Thanks
-Pat
1 Answer, 1 is accepted
0
Ianko
Telerik team
answered on 08 Jul 2014, 11:27 AM
Hello Pat,
Thank you for bringing this issue to our attention.
The RadEditor should appear above these elements by itself, although this appears to be broken. The initial logged item about this behavior is related to an integration with the RadGrid, although it is the same with the scenario encountered on your end.
As a temporary fix I suggest using the second workaround. The one that changes the position and the z-index of the RadEditor when toggled to full screen.
You can test the behavior of the fix in the exact scenario using the following simple markup:
if (args.get_commandName() === "ToggleScreenMode") {
var editorElement = editor.get_element();
if (editor.isFullScreen()) {
editorElement.style.position = "absolute";
editorElement.style.zIndex = "100000";
} else {
editorElement.style.position = "";
editorElement.style.zIndex = "";
}
}
}
</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.