@ones-editor/editor 2.1.2-beta.15 → 2.1.2-beta.17
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
|
@@ -69015,6 +69015,7 @@ ${codeText}
|
|
|
69015
69015
|
editor2.selection.selectBlock(block, 0, getBlockTextLength$6(editor2, block), { noScroll: true });
|
|
69016
69016
|
editor2.readonly = false;
|
|
69017
69017
|
const editorComments = editor2.getCustom("editor-comments");
|
|
69018
|
+
editorComments.showCommentList();
|
|
69018
69019
|
addCommentToBlock$1(editor2, block, editorComments.commentProvider);
|
|
69019
69020
|
setTimeout(() => {
|
|
69020
69021
|
editor2.readonly = true;
|
|
@@ -83112,6 +83113,11 @@ ${content}
|
|
|
83112
83113
|
beforeInsertDoc(editor, container, insertDoc) {
|
|
83113
83114
|
flattenLayoutBlockIfExists(insertDoc);
|
|
83114
83115
|
return insertDoc;
|
|
83116
|
+
},
|
|
83117
|
+
getBlockProperties() {
|
|
83118
|
+
return {
|
|
83119
|
+
abstract: `${i18n$1.t("layout.title")}`
|
|
83120
|
+
};
|
|
83115
83121
|
}
|
|
83116
83122
|
};
|
|
83117
83123
|
const loadingIcon = '<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M12 7.61719C11.4477 7.61719 11 7.16947 11 6.61719V3.61719C11 3.0649 11.4477 2.61719 12 2.61719C12.5523 2.61719 13 3.0649 13 3.61719V6.61719C13 7.16947 12.5523 7.61719 12 7.61719ZM4.92893 5.54612C5.31946 5.15559 5.95262 5.1556 6.34315 5.54612L8.46447 7.66744C8.85499 8.05796 8.85499 8.69113 8.46447 9.08165C8.07394 9.47218 7.44078 9.47218 7.05025 9.08165L4.92893 6.96033C4.53841 6.56981 4.53841 5.93664 4.92893 5.54612ZM15.5355 9.08165C15.145 8.69113 15.145 8.05796 15.5355 7.66744L17.6569 5.54612C18.0474 5.1556 18.6805 5.1556 19.0711 5.54612C19.4616 5.93664 19.4616 6.56981 19.0711 6.96033L16.9497 9.08165C16.5592 9.47218 15.9261 9.47218 15.5355 9.08165ZM2 12.6172C2 12.0649 2.44772 11.6172 3 11.6172L6 11.6172C6.55229 11.6172 7 12.0649 7 12.6172C7 13.1695 6.55228 13.6172 6 13.6172L3 13.6172C2.44772 13.6172 2 13.1695 2 12.6172ZM17 12.6172C17 12.0649 17.4477 11.6172 18 11.6172L21 11.6172C21.5523 11.6172 22 12.0649 22 12.6172C22 13.1695 21.5523 13.6172 21 13.6172L18 13.6172C17.4477 13.6172 17 13.1695 17 12.6172ZM15.5355 16.1527C15.9261 15.7622 16.5592 15.7622 16.9497 16.1527L19.0711 18.274C19.4616 18.6646 19.4616 19.2977 19.0711 19.6883C18.6805 20.0788 18.0474 20.0788 17.6569 19.6883L15.5355 17.5669C15.145 17.1764 15.145 16.5432 15.5355 16.1527ZM4.92893 19.6883C4.53841 19.2977 4.53841 18.6646 4.92893 18.274L7.05025 16.1527C7.44078 15.7622 8.07394 15.7622 8.46447 16.1527C8.85499 16.5432 8.85499 17.1764 8.46447 17.5669L6.34315 19.6883C5.95262 20.0788 5.31946 20.0788 4.92893 19.6883ZM12 22.6172C11.4477 22.6172 11 22.1695 11 21.6172V18.6172C11 18.0649 11.4477 17.6172 12 17.6172C12.5523 17.6172 13 18.0649 13 18.6172V21.6172C13 22.1695 12.5523 22.6172 12 22.6172Z" fill="#5587F0"/>\n<animateTransform attributeType="xml" attributeName="transform" type="rotate" values="0 12 12.5;360 12 12.5" dur="2s" repeatCount="indefinite" />\n</g>\n</svg>';
|
|
@@ -88117,7 +88123,7 @@ ${data2.flowchartText}
|
|
|
88117
88123
|
}
|
|
88118
88124
|
}
|
|
88119
88125
|
});
|
|
88120
|
-
editor.version = "2.1.2-beta.
|
|
88126
|
+
editor.version = "2.1.2-beta.17";
|
|
88121
88127
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
88122
88128
|
window.setReauthFail = (fail) => {
|
|
88123
88129
|
window.isReauthError = fail;
|
|
@@ -88218,7 +88224,7 @@ ${data2.flowchartText}
|
|
|
88218
88224
|
});
|
|
88219
88225
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
88220
88226
|
OnesEditorToolbar.register(editor);
|
|
88221
|
-
editor.version = "2.1.2-beta.
|
|
88227
|
+
editor.version = "2.1.2-beta.17";
|
|
88222
88228
|
return editor;
|
|
88223
88229
|
}
|
|
88224
88230
|
async function showDocVersions(editor, options, serverUrl) {
|