Browse Source

Merge pull request #468 in VISUAL/fineui from ~FAY/fineui:master to master

* commit 'bc119d6f25ef0b2a2c3e8094c2cb0696f1984e3c':
  update
  update
  BI-25467
  BI-24603
  update
  update
master
fay 7 years ago
parent
commit
f524f19066
  1. 2
      dist/_fineui.min.js
  2. 20
      dist/bundle.js
  3. 38
      dist/bundle.min.js
  4. 20
      dist/case.js
  5. 20
      dist/fineui.js
  6. 2
      dist/fineui.min.js
  7. 20
      src/case/richeditor/niceditor/niceditor.js

2
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/bundle.js vendored

@ -83513,16 +83513,18 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
insertHTML: function (html) { insertHTML: function (html) {
var range = this.getRng(); var range = this.getRng();
if (document.queryCommandState("insertHTML")) { try {
// W3C // w3c
this.nicCommand("insertHTML", html); this.nicCommand("insertHTML", html);
} else if (range.insertNode) { } catch(e) {
// IE if (range.insertNode) {
range.deleteContents(); // IE
range.insertNode($(html)[0]); range.deleteContents();
} else if (range.pasteHTML) { range.insertNode($(html)[0]);
// IE <= 10 } else if (range.pasteHTML) {
range.pasteHTML(html); // IE <= 10
range.pasteHTML(html);
}
} }
}, },

38
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/case.js vendored

@ -11014,16 +11014,18 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
insertHTML: function (html) { insertHTML: function (html) {
var range = this.getRng(); var range = this.getRng();
if (document.queryCommandState("insertHTML")) { try {
// W3C // w3c
this.nicCommand("insertHTML", html); this.nicCommand("insertHTML", html);
} else if (range.insertNode) { } catch(e) {
// IE if (range.insertNode) {
range.deleteContents(); // IE
range.insertNode($(html)[0]); range.deleteContents();
} else if (range.pasteHTML) { range.insertNode($(html)[0]);
// IE <= 10 } else if (range.pasteHTML) {
range.pasteHTML(html); // IE <= 10
range.pasteHTML(html);
}
} }
}, },

20
dist/fineui.js vendored

@ -83756,16 +83756,18 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
insertHTML: function (html) { insertHTML: function (html) {
var range = this.getRng(); var range = this.getRng();
if (document.queryCommandState("insertHTML")) { try {
// W3C // w3c
this.nicCommand("insertHTML", html); this.nicCommand("insertHTML", html);
} else if (range.insertNode) { } catch(e) {
// IE if (range.insertNode) {
range.deleteContents(); // IE
range.insertNode($(html)[0]); range.deleteContents();
} else if (range.pasteHTML) { range.insertNode($(html)[0]);
// IE <= 10 } else if (range.pasteHTML) {
range.pasteHTML(html); // IE <= 10
range.pasteHTML(html);
}
} }
}, },

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

20
src/case/richeditor/niceditor/niceditor.js

@ -307,16 +307,18 @@
insertHTML: function (html) { insertHTML: function (html) {
var range = this.getRng(); var range = this.getRng();
if (document.queryCommandState("insertHTML")) { try {
// W3C // w3c
this.nicCommand("insertHTML", html); this.nicCommand("insertHTML", html);
} else if (range.insertNode) { } catch(e) {
// IE if (range.insertNode) {
range.deleteContents(); // IE
range.insertNode($(html)[0]); range.deleteContents();
} else if (range.pasteHTML) { range.insertNode($(html)[0]);
// IE <= 10 } else if (range.pasteHTML) {
range.pasteHTML(html); // IE <= 10
range.pasteHTML(html);
}
} }
}, },

Loading…
Cancel
Save