diff --git a/dist/bundle.js b/dist/bundle.js
index e04c757e27..201b9b2f5b 100644
--- a/dist/bundle.js
+++ b/dist/bundle.js
@@ -83292,7 +83292,8 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
});
this.elm.element.css({
minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height,
- outline: "none"
+ outline: "none",
+ padding: "0 10px"
}).html(o.value);
if(o.readOnly) {
@@ -83326,12 +83327,21 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
// this.setContent("
");
}
this.instanceDoc = document.defaultView;
- this.elm.element.on("mousedown", BI.bind(this.selected, this));
+ this.elm.element.on("mousedown", BI.bind(function (e) {
+ console.log(1);
+ this.selected(e);
+ }, this));
this.elm.element.on("keyup", BI.bind(this.keyDown, this));
// this.elm.element.on("keydown", BI.bind(this.keyDown, this));
- this.elm.element.on("focus", BI.bind(this.selected, this));
+ this.elm.element.on("focus", BI.bind(function (e) {
+ console.log(2);
+ this.selected(e);
+ }, this));
this.elm.element.on("blur", BI.bind(this.blur, this));
- this.elm.element.on("keyup", BI.bind(this.selected, this));
+ this.elm.element.on("keyup", BI.bind(function (e) {
+ console.log(3);
+ this.selected(e);
+ }, this));
this.ne.fireEvent("add");
},
diff --git a/dist/case.js b/dist/case.js
index 4ba90e4c2e..3e4e21511b 100644
--- a/dist/case.js
+++ b/dist/case.js
@@ -10802,7 +10802,8 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
});
this.elm.element.css({
minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height,
- outline: "none"
+ outline: "none",
+ padding: "0 10px"
}).html(o.value);
if(o.readOnly) {
@@ -10836,12 +10837,21 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
// this.setContent("
");
}
this.instanceDoc = document.defaultView;
- this.elm.element.on("mousedown", BI.bind(this.selected, this));
+ this.elm.element.on("mousedown", BI.bind(function (e) {
+ console.log(1);
+ this.selected(e);
+ }, this));
this.elm.element.on("keyup", BI.bind(this.keyDown, this));
// this.elm.element.on("keydown", BI.bind(this.keyDown, this));
- this.elm.element.on("focus", BI.bind(this.selected, this));
+ this.elm.element.on("focus", BI.bind(function (e) {
+ console.log(2);
+ this.selected(e);
+ }, this));
this.elm.element.on("blur", BI.bind(this.blur, this));
- this.elm.element.on("keyup", BI.bind(this.selected, this));
+ this.elm.element.on("keyup", BI.bind(function (e) {
+ console.log(3);
+ this.selected(e);
+ }, this));
this.ne.fireEvent("add");
},
diff --git a/dist/fineui.js b/dist/fineui.js
index 99c9645feb..112a7bbfc8 100644
--- a/dist/fineui.js
+++ b/dist/fineui.js
@@ -83535,7 +83535,8 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
});
this.elm.element.css({
minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height,
- outline: "none"
+ outline: "none",
+ padding: "0 10px"
}).html(o.value);
if(o.readOnly) {
@@ -83569,12 +83570,21 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
// this.setContent("
");
}
this.instanceDoc = document.defaultView;
- this.elm.element.on("mousedown", BI.bind(this.selected, this));
+ this.elm.element.on("mousedown", BI.bind(function (e) {
+ console.log(1);
+ this.selected(e);
+ }, this));
this.elm.element.on("keyup", BI.bind(this.keyDown, this));
// this.elm.element.on("keydown", BI.bind(this.keyDown, this));
- this.elm.element.on("focus", BI.bind(this.selected, this));
+ this.elm.element.on("focus", BI.bind(function (e) {
+ console.log(2);
+ this.selected(e);
+ }, this));
this.elm.element.on("blur", BI.bind(this.blur, this));
- this.elm.element.on("keyup", BI.bind(this.selected, this));
+ this.elm.element.on("keyup", BI.bind(function (e) {
+ console.log(3);
+ this.selected(e);
+ }, this));
this.ne.fireEvent("add");
},
diff --git a/src/case/richeditor/niceditor/niceditor.js b/src/case/richeditor/niceditor/niceditor.js
index 45c821e246..603ade832a 100644
--- a/src/case/richeditor/niceditor/niceditor.js
+++ b/src/case/richeditor/niceditor/niceditor.js
@@ -109,7 +109,8 @@
});
this.elm.element.css({
minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height,
- outline: "none"
+ outline: "none",
+ padding: "0 10px"
}).html(o.value);
if(o.readOnly) {
@@ -143,12 +144,21 @@
// this.setContent("
");
}
this.instanceDoc = document.defaultView;
- this.elm.element.on("mousedown", BI.bind(this.selected, this));
+ this.elm.element.on("mousedown", BI.bind(function (e) {
+ console.log(1);
+ this.selected(e);
+ }, this));
this.elm.element.on("keyup", BI.bind(this.keyDown, this));
// this.elm.element.on("keydown", BI.bind(this.keyDown, this));
- this.elm.element.on("focus", BI.bind(this.selected, this));
+ this.elm.element.on("focus", BI.bind(function (e) {
+ console.log(2);
+ this.selected(e);
+ }, this));
this.elm.element.on("blur", BI.bind(this.blur, this));
- this.elm.element.on("keyup", BI.bind(this.selected, this));
+ this.elm.element.on("keyup", BI.bind(function (e) {
+ console.log(3);
+ this.selected(e);
+ }, this));
this.ne.fireEvent("add");
},