@ -4,6 +4,7 @@
line-height: 50px;
}
.blog-title input{
padding-left: 12px;
flex: 1;
height: 44px;
border: 0;
@ -61,7 +61,7 @@
return
tobj.title = $("#blog-title").val();
if (editor.txt.text().trim().length == 0) {
if (editor.txt.html().trim().length == 0) {
layer.msg('文章内容不能为空哦', function () {
});
@ -116,7 +116,7 @@
var noteHtml = editor.txt.html()
if (!editor.txt.text() && editor.txt.text().trim().length == 0) {
if (!editor.txt.html() && editor.txt.html().trim().length == 0) {
layer.msg('保存内容为空', function () {