dever 5 years ago
parent
commit
b939a14012
3 changed files with 4 additions and 1 deletions
  1. BIN
      assets/img/video.jpg
  2. 3 0
      assets/lib/kindeditor/kindeditor-all-min.js
  3. 1 1
      assets/lib/manage/main.js

BIN
assets/img/video.jpg


+ 3 - 0
assets/lib/kindeditor/kindeditor-all-min.js

@@ -4893,6 +4893,9 @@ function KEditor(options) {
 	var se = K(self.srcElement || '<textarea/>');
 	if (!self.width) {
 		self.width = se[0].style.width || se.width();
+		if (!self.width) {
+			self.width = '700';
+		}
 	}
 	if (!self.height) {
 		self.height = se[0].style.height || se.height();

+ 1 - 1
assets/lib/manage/main.js

@@ -40,6 +40,7 @@ function init()
 {
 	editors = [];
 	editors_index = [];
+	initEditor();
 	select = '';
 	edit();
 	del();
@@ -50,7 +51,6 @@ function init()
 	template();
 	submit();
 	loadShow();
-	initEditor();
 	initPic();
 	initDate();
 	initLayui();