writing mode fix
This commit is contained in:
@ -958,3 +958,6 @@ body {
|
|||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
#moreBtn {
|
||||||
|
right: 0 !important;
|
||||||
|
}
|
||||||
|
@ -1058,5 +1058,7 @@ html,body {
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
|
}
|
||||||
|
#moreBtn {
|
||||||
|
right: 0 !important;
|
||||||
}
|
}
|
2
public/js/app/page-min.js
vendored
2
public/js/app/page-min.js
vendored
File diff suppressed because one or more lines are too long
@ -729,6 +729,8 @@ editorMode.prototype.changeMode = function(isWritingMode) {
|
|||||||
} else {
|
} else {
|
||||||
this.normalMode();
|
this.normalMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$("#moreBtn i").removeClass("fa-angle-up").addClass("fa-angle-down");
|
||||||
}
|
}
|
||||||
editorMode.prototype.normalMode = function() {
|
editorMode.prototype.normalMode = function() {
|
||||||
var $c = $("#editorContent_ifr").contents();
|
var $c = $("#editorContent_ifr").contents();
|
||||||
@ -743,7 +745,7 @@ editorMode.prototype.normalMode = function() {
|
|||||||
theme += ".css";
|
theme += ".css";
|
||||||
$("#themeLink").attr("href", "/css/theme/" + theme);
|
$("#themeLink").attr("href", "/css/theme/" + theme);
|
||||||
|
|
||||||
|
$("#mceToolbar").css("height", "30px");
|
||||||
}
|
}
|
||||||
editorMode.prototype.writtingMode = function() {
|
editorMode.prototype.writtingMode = function() {
|
||||||
// $("body").fadeOut();
|
// $("body").fadeOut();
|
||||||
@ -762,6 +764,8 @@ editorMode.prototype.writtingMode = function() {
|
|||||||
$("#noteItemListWrap, #notesAndSort").fadeOut();
|
$("#noteItemListWrap, #notesAndSort").fadeOut();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 点击扩展会使html的height生成, 切换后会覆盖css文件的
|
||||||
|
$("#mceToolbar").css("height", "40px");
|
||||||
// $("body").fadeIn();
|
// $("body").fadeIn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user