diff --git a/src/main/resources/templates/admin/admin_page_md_editor.ftl b/src/main/resources/templates/admin/admin_page_md_editor.ftl index 075230222..239939c44 100755 --- a/src/main/resources/templates/admin/admin_page_md_editor.ftl +++ b/src/main/resources/templates/admin/admin_page_md_editor.ftl @@ -156,7 +156,13 @@ imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"], imageUploadURL : "/admin/attachments/upload/editor", htmlDecode: "script", - tocStartLevel : 1 + tocStartLevel : 1, + onfullscreen : function() { + $("#markdown-editor").css("z-index","9999"); + }, + onfullscreenExit : function() { + $("#markdown-editor").css("z-index",""); + } // toolbarIcons : function () { // return editormd.toolbarModes["simple"]; // } diff --git a/src/main/resources/templates/admin/admin_post_md_editor.ftl b/src/main/resources/templates/admin/admin_post_md_editor.ftl index b076ed24b..5ba5189fe 100755 --- a/src/main/resources/templates/admin/admin_post_md_editor.ftl +++ b/src/main/resources/templates/admin/admin_post_md_editor.ftl @@ -236,7 +236,13 @@ imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"], imageUploadURL : "/admin/attachments/upload/editor", htmlDecode: "script", - tocStartLevel : 1 + tocStartLevel : 1, + onfullscreen : function() { + $("#markdown-editor").css("z-index","9999"); + }, + onfullscreenExit : function() { + $("#markdown-editor").css("z-index",""); + } // toolbarIcons : function () { // return editormd.toolbarModes["simple"]; // }