@@ -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();
@@ -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();