去掉源码模式
This commit is contained in:
parent
9d122886a9
commit
38702dde64
|
@ -5031,7 +5031,7 @@ KEditor.prototype = {
|
|||
height : editHeight > 0 && _removeUnit(height) > self.minHeight ? editHeight : self.minHeight,
|
||||
src : editDiv,
|
||||
srcElement : self.srcElement,
|
||||
designMode : self.designMode,
|
||||
designMode : true,
|
||||
themesPath : self.themesPath,
|
||||
bodyClass : self.bodyClass,
|
||||
cssPath : self.cssPath,
|
||||
|
@ -5063,9 +5063,9 @@ KEditor.prototype = {
|
|||
_bindTabEvent.call(self);
|
||||
_bindFocusEvent.call(self);
|
||||
edit.afterChange(function(e) {
|
||||
if (!edit.designMode) {
|
||||
return;
|
||||
}
|
||||
// if (!edit.designMode) {
|
||||
// return;
|
||||
// }
|
||||
self.updateState();
|
||||
self.addBookmark();
|
||||
//prettyPrint("",self.edit.doc.body);
|
||||
|
|
Loading…
Reference in New Issue