@ones-editor/editor 2.9.8-beta.6 → 2.9.8-beta.7
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
|
@@ -41999,7 +41999,7 @@ ${codeText}
|
|
|
41999
41999
|
placement: (_a = options == null ? void 0 : options.placement) != null ? _a : "bottom-start",
|
|
42000
42000
|
maxWidth: (_b = this.options.maxWidth) != null ? _b : 650,
|
|
42001
42001
|
arrow: (_c = options == null ? void 0 : options.arrow) != null ? _c : this.options.tippyArrow,
|
|
42002
|
-
appendTo: document.body,
|
|
42002
|
+
appendTo: target.closest(".command-bar-container") || document.body,
|
|
42003
42003
|
onShow: this.handleShow,
|
|
42004
42004
|
onHidden: this.handleHidden,
|
|
42005
42005
|
onShown: this.handleShown,
|
|
@@ -42565,7 +42565,7 @@ ${codeText}
|
|
|
42565
42565
|
placement: (_a = options == null ? void 0 : options.placement) != null ? _a : "bottom-start",
|
|
42566
42566
|
maxWidth: 500,
|
|
42567
42567
|
arrow: this.options.tippyArrow,
|
|
42568
|
-
appendTo: document.body,
|
|
42568
|
+
appendTo: target.closest(".command-bar-container") || document.body,
|
|
42569
42569
|
onShow: this.handleShow,
|
|
42570
42570
|
onHidden: this.handleHidden,
|
|
42571
42571
|
delay: options == null ? void 0 : options.delay,
|
|
@@ -43175,7 +43175,7 @@ ${codeText}
|
|
|
43175
43175
|
placement: "bottom",
|
|
43176
43176
|
maxWidth: 1e3,
|
|
43177
43177
|
arrow: (_b = options == null ? void 0 : options.arrow) != null ? _b : this.options.tippyArrow,
|
|
43178
|
-
appendTo: document.body,
|
|
43178
|
+
appendTo: target.closest(".command-bar-container") || document.body,
|
|
43179
43179
|
onShow: this.handleShow,
|
|
43180
43180
|
onShown: this.handleShown,
|
|
43181
43181
|
onHidden: this.handleHidden,
|
|
@@ -95019,7 +95019,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95019
95019
|
}
|
|
95020
95020
|
}
|
|
95021
95021
|
});
|
|
95022
|
-
editor.version = "2.9.8-beta.
|
|
95022
|
+
editor.version = "2.9.8-beta.7";
|
|
95023
95023
|
return editor;
|
|
95024
95024
|
}
|
|
95025
95025
|
function isDoc(doc2) {
|
|
@@ -95151,7 +95151,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95151
95151
|
OnesEditorDropTarget.register(editor);
|
|
95152
95152
|
OnesEditorTocProvider.register(editor);
|
|
95153
95153
|
OnesEditorExclusiveBlock.register(editor);
|
|
95154
|
-
editor.version = "2.9.8-beta.
|
|
95154
|
+
editor.version = "2.9.8-beta.7";
|
|
95155
95155
|
return editor;
|
|
95156
95156
|
}
|
|
95157
95157
|
async function showDocVersions(editor, options, serverUrl) {
|