mirror of https://github.com/halo-dev/halo
👽 修复编辑器全屏样式混乱的问题
parent
d75509918a
commit
e237e56bbb
|
@ -156,7 +156,13 @@
|
||||||
imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"],
|
imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"],
|
||||||
imageUploadURL : "/admin/attachments/upload/editor",
|
imageUploadURL : "/admin/attachments/upload/editor",
|
||||||
htmlDecode: "script",
|
htmlDecode: "script",
|
||||||
tocStartLevel : 1
|
tocStartLevel : 1,
|
||||||
|
onfullscreen : function() {
|
||||||
|
$("#markdown-editor").css("z-index","9999");
|
||||||
|
},
|
||||||
|
onfullscreenExit : function() {
|
||||||
|
$("#markdown-editor").css("z-index","");
|
||||||
|
}
|
||||||
// toolbarIcons : function () {
|
// toolbarIcons : function () {
|
||||||
// return editormd.toolbarModes["simple"];
|
// return editormd.toolbarModes["simple"];
|
||||||
// }
|
// }
|
||||||
|
|
|
@ -236,7 +236,13 @@
|
||||||
imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"],
|
imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"],
|
||||||
imageUploadURL : "/admin/attachments/upload/editor",
|
imageUploadURL : "/admin/attachments/upload/editor",
|
||||||
htmlDecode: "script",
|
htmlDecode: "script",
|
||||||
tocStartLevel : 1
|
tocStartLevel : 1,
|
||||||
|
onfullscreen : function() {
|
||||||
|
$("#markdown-editor").css("z-index","9999");
|
||||||
|
},
|
||||||
|
onfullscreenExit : function() {
|
||||||
|
$("#markdown-editor").css("z-index","");
|
||||||
|
}
|
||||||
// toolbarIcons : function () {
|
// toolbarIcons : function () {
|
||||||
// return editormd.toolbarModes["simple"];
|
// return editormd.toolbarModes["simple"];
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue