Browse Source

BI-23912

master
windy 7 years ago
parent
commit
45c6ed23b4
  1. 18
      dist/bundle.js
  2. 18
      dist/case.js
  3. 18
      dist/fineui.js
  4. 18
      src/case/richeditor/niceditor/niceditor.js

18
dist/bundle.js vendored

@ -83292,7 +83292,8 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
}); });
this.elm.element.css({ this.elm.element.css({
minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height, minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height,
outline: "none" outline: "none",
padding: "0 10px"
}).html(o.value); }).html(o.value);
if(o.readOnly) { if(o.readOnly) {
@ -83326,12 +83327,21 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
// this.setContent("<br />"); // this.setContent("<br />");
} }
this.instanceDoc = document.defaultView; 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("keyup", BI.bind(this.keyDown, this));
// this.elm.element.on("keydown", 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("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"); this.ne.fireEvent("add");
}, },

18
dist/case.js vendored

@ -10802,7 +10802,8 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
}); });
this.elm.element.css({ this.elm.element.css({
minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height, minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height,
outline: "none" outline: "none",
padding: "0 10px"
}).html(o.value); }).html(o.value);
if(o.readOnly) { if(o.readOnly) {
@ -10836,12 +10837,21 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
// this.setContent("<br />"); // this.setContent("<br />");
} }
this.instanceDoc = document.defaultView; 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("keyup", BI.bind(this.keyDown, this));
// this.elm.element.on("keydown", 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("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"); this.ne.fireEvent("add");
}, },

18
dist/fineui.js vendored

@ -83535,7 +83535,8 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
}); });
this.elm.element.css({ this.elm.element.css({
minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height, minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height,
outline: "none" outline: "none",
padding: "0 10px"
}).html(o.value); }).html(o.value);
if(o.readOnly) { if(o.readOnly) {
@ -83569,12 +83570,21 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
// this.setContent("<br />"); // this.setContent("<br />");
} }
this.instanceDoc = document.defaultView; 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("keyup", BI.bind(this.keyDown, this));
// this.elm.element.on("keydown", 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("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"); this.ne.fireEvent("add");
}, },

18
src/case/richeditor/niceditor/niceditor.js

@ -109,7 +109,8 @@
}); });
this.elm.element.css({ this.elm.element.css({
minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height, minHeight: BI.isNumber(o.height) ? (o.height - 8) + "px" : o.height,
outline: "none" outline: "none",
padding: "0 10px"
}).html(o.value); }).html(o.value);
if(o.readOnly) { if(o.readOnly) {
@ -143,12 +144,21 @@
// this.setContent("<br />"); // this.setContent("<br />");
} }
this.instanceDoc = document.defaultView; 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("keyup", BI.bind(this.keyDown, this));
// this.elm.element.on("keydown", 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("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"); this.ne.fireEvent("add");
}, },

Loading…
Cancel
Save