@ones-editor/editor 2.1.1-beta.35 → 2.1.1-beta.37
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
|
@@ -45794,9 +45794,11 @@ ${codeText}
|
|
|
45794
45794
|
return commands.filter((item, index2) => {
|
|
45795
45795
|
if (item.type === "separator") {
|
|
45796
45796
|
if (index2 === 0 || index2 === commands.length - 1) {
|
|
45797
|
+
start = index2;
|
|
45797
45798
|
return false;
|
|
45798
45799
|
}
|
|
45799
45800
|
if (index2 - start === 1) {
|
|
45801
|
+
start = index2;
|
|
45800
45802
|
return false;
|
|
45801
45803
|
}
|
|
45802
45804
|
start = index2;
|
|
@@ -64610,7 +64612,9 @@ ${codeText}
|
|
|
64610
64612
|
{
|
|
64611
64613
|
id: "addComment",
|
|
64612
64614
|
name: i18n$1.t("comment.quickMenuCommand"),
|
|
64613
|
-
icon: CommentIcon$1
|
|
64615
|
+
icon: CommentIcon$1,
|
|
64616
|
+
groupOrder: 1e3,
|
|
64617
|
+
order: 100
|
|
64614
64618
|
}
|
|
64615
64619
|
]);
|
|
64616
64620
|
__publicField(this, "isHoveringImageEmpty", () => {
|
|
@@ -82990,7 +82994,9 @@ ${data2.flowchartText}
|
|
|
82990
82994
|
{
|
|
82991
82995
|
id: "addComment",
|
|
82992
82996
|
name: i18n$1.t("comment.quickMenuCommand"),
|
|
82993
|
-
icon: CommentIcon$1
|
|
82997
|
+
icon: CommentIcon$1,
|
|
82998
|
+
groupOrder: 1e3,
|
|
82999
|
+
order: 100
|
|
82994
83000
|
},
|
|
82995
83001
|
{
|
|
82996
83002
|
id: "sep",
|
|
@@ -85028,7 +85034,7 @@ ${data2.flowchartText}
|
|
|
85028
85034
|
}
|
|
85029
85035
|
}
|
|
85030
85036
|
});
|
|
85031
|
-
editor.version = "2.1.1-beta.
|
|
85037
|
+
editor.version = "2.1.1-beta.37";
|
|
85032
85038
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
85033
85039
|
window.setReauthFail = (fail) => {
|
|
85034
85040
|
window.isReauthError = fail;
|
|
@@ -85127,7 +85133,7 @@ ${data2.flowchartText}
|
|
|
85127
85133
|
});
|
|
85128
85134
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
85129
85135
|
OnesEditorToolbar.register(editor);
|
|
85130
|
-
editor.version = "2.1.1-beta.
|
|
85136
|
+
editor.version = "2.1.1-beta.37";
|
|
85131
85137
|
return editor;
|
|
85132
85138
|
}
|
|
85133
85139
|
async function showDocVersions(editor, options, serverUrl) {
|