@ones-editor/editor 2.8.37-beta.2 → 2.8.37-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
|
@@ -8879,7 +8879,7 @@ div.editor-root.compact.no-heading-collapse.no-block-menu > .editor-content {
|
|
|
8879
8879
|
.editor-main-toolbar-root {
|
|
8880
8880
|
display: flex;
|
|
8881
8881
|
width: 100%;
|
|
8882
|
-
min-height:
|
|
8882
|
+
min-height: 35px;
|
|
8883
8883
|
}
|
|
8884
8884
|
.editor-main-toolbar-root .editor-main-toolbar-resizer {
|
|
8885
8885
|
position: relative;
|
|
@@ -94190,7 +94190,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
94190
94190
|
return;
|
|
94191
94191
|
}
|
|
94192
94192
|
const content = toolbar2.content;
|
|
94193
|
-
const toolbarRoot = content.closest(".editor-
|
|
94193
|
+
const toolbarRoot = content.closest(".editor-main-toolbar-resizer");
|
|
94194
94194
|
const toolbarRect = toolbarRoot.getBoundingClientRect();
|
|
94195
94195
|
const toolbarRight = toolbarRect.right;
|
|
94196
94196
|
items.forEach((item) => {
|
|
@@ -94724,7 +94724,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
94724
94724
|
}
|
|
94725
94725
|
}
|
|
94726
94726
|
});
|
|
94727
|
-
editor.version = "2.8.37-beta.
|
|
94727
|
+
editor.version = "2.8.37-beta.4";
|
|
94728
94728
|
return editor;
|
|
94729
94729
|
}
|
|
94730
94730
|
function isDoc(doc2) {
|
|
@@ -94838,7 +94838,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
94838
94838
|
}
|
|
94839
94839
|
});
|
|
94840
94840
|
OnesEditorToolbar.register(editor);
|
|
94841
|
-
editor.version = "2.8.37-beta.
|
|
94841
|
+
editor.version = "2.8.37-beta.4";
|
|
94842
94842
|
return editor;
|
|
94843
94843
|
}
|
|
94844
94844
|
async function showDocVersions(editor, options, serverUrl) {
|