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