|
@@ -259,16 +259,14 @@ function initEditor(e)
|
|
|
});
|
|
|
|
|
|
if (editor) {
|
|
|
- KindEditor.ready(function (K) {
|
|
|
- for (var i in editor) {
|
|
|
- var id = editor[i];
|
|
|
- if (typeof(id) == 'string' && !editors[id]) {
|
|
|
- param.index = editors_index.length;
|
|
|
- editors[id] = K.create('#' + id, param);
|
|
|
- editors_index.push(id);
|
|
|
- }
|
|
|
+ for (var i in editor) {
|
|
|
+ var id = editor[i];
|
|
|
+ if (typeof(id) == 'string' && !editors[id]) {
|
|
|
+ param.index = editors_index.length;
|
|
|
+ editors[id] = KindEditor.create('#' + id, param);
|
|
|
+ editors_index.push(id);
|
|
|
}
|
|
|
- });
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|