@ones-editor/editor 2.8.16-beta.2 → 2.8.16-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -73704,7 +73704,7 @@ ${codeText}
|
|
|
73704
73704
|
} else {
|
|
73705
73705
|
this.checkedId = item.id;
|
|
73706
73706
|
}
|
|
73707
|
-
this.onPasteSpecial(this.cleaningDoc(item));
|
|
73707
|
+
this.onPasteSpecial(this.cleaningDoc(item), item.id);
|
|
73708
73708
|
setTimeout(() => {
|
|
73709
73709
|
if (this.docs) {
|
|
73710
73710
|
this.show(this.docs);
|
|
@@ -73856,9 +73856,10 @@ ${codeText}
|
|
|
73856
73856
|
__publicField(this, "lastPos", null);
|
|
73857
73857
|
__publicField(this, "event", null);
|
|
73858
73858
|
__publicField(this, "order", 0);
|
|
73859
|
-
__publicField(this, "handlePasteSpecial", (doc2) => {
|
|
73859
|
+
__publicField(this, "handlePasteSpecial", (doc2, type) => {
|
|
73860
73860
|
this.editor.undoManager.runInGroup(() => {
|
|
73861
73861
|
this.editor.undoManager.undoTo(this.lastUndoAction);
|
|
73862
|
+
doc2.meta.type = type;
|
|
73862
73863
|
this.editor.pasteDoc(doc2);
|
|
73863
73864
|
});
|
|
73864
73865
|
});
|
|
@@ -82229,19 +82230,19 @@ ${docStr}
|
|
|
82229
82230
|
const zhCN$c = {
|
|
82230
82231
|
toc: {
|
|
82231
82232
|
name: "\u6807\u9898\u76EE\u5F55",
|
|
82232
|
-
empty: "
|
|
82233
|
+
empty: "\u5F53\u524D\u9875\u9762\u6682\u65E0\u6807\u9898\u6837\u5F0F\u6587\u672C"
|
|
82233
82234
|
}
|
|
82234
82235
|
};
|
|
82235
82236
|
const enUS$c = {
|
|
82236
82237
|
toc: {
|
|
82237
82238
|
name: "Toc",
|
|
82238
|
-
empty: "No
|
|
82239
|
+
empty: "No heading on this page"
|
|
82239
82240
|
}
|
|
82240
82241
|
};
|
|
82241
82242
|
const jaJP$c = {
|
|
82242
82243
|
toc: {
|
|
82243
82244
|
name: "Toc",
|
|
82244
|
-
empty: "
|
|
82245
|
+
empty: "\u3053\u306E\u30DA\u30FC\u30B8\u306B\u306F\u898B\u51FA\u3057\u304C\u3042\u308A\u307E\u305B\u3093\u3002"
|
|
82245
82246
|
}
|
|
82246
82247
|
};
|
|
82247
82248
|
i18n$1.mergeLang({
|
|
@@ -92962,7 +92963,7 @@ ${data2.plantumlText}
|
|
|
92962
92963
|
}
|
|
92963
92964
|
}
|
|
92964
92965
|
});
|
|
92965
|
-
editor.version = "2.8.16-beta.
|
|
92966
|
+
editor.version = "2.8.16-beta.4";
|
|
92966
92967
|
return editor;
|
|
92967
92968
|
}
|
|
92968
92969
|
function isDoc(doc2) {
|
|
@@ -93075,7 +93076,7 @@ ${data2.plantumlText}
|
|
|
93075
93076
|
}
|
|
93076
93077
|
});
|
|
93077
93078
|
OnesEditorToolbar.register(editor);
|
|
93078
|
-
editor.version = "2.8.16-beta.
|
|
93079
|
+
editor.version = "2.8.16-beta.4";
|
|
93079
93080
|
return editor;
|
|
93080
93081
|
}
|
|
93081
93082
|
async function showDocVersions(editor, options, serverUrl) {
|