@ones-editor/editor 2.9.8-beta.20 → 2.9.8-beta.21
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
|
@@ -3190,11 +3190,9 @@ div.editor-root div.editor-content div[data-type=editor-block] div[data-type=blo
|
|
|
3190
3190
|
}
|
|
3191
3191
|
div.editor-root div.editor-content div[data-type=editor-block] div[data-type=block-content] > span.status-box .box-status-common {
|
|
3192
3192
|
max-width: 100%;
|
|
3193
|
-
line-height: 20px;
|
|
3194
3193
|
padding: 0px 5px;
|
|
3195
3194
|
border-radius: 3px;
|
|
3196
|
-
font-size:
|
|
3197
|
-
height: 20px;
|
|
3195
|
+
font-size: 0.8em;
|
|
3198
3196
|
cursor: pointer;
|
|
3199
3197
|
white-space: nowrap;
|
|
3200
3198
|
text-overflow: ellipsis;
|
|
@@ -8814,6 +8812,9 @@ div.editor-root div.editor-content div[data-type=editor-container].root.select-a
|
|
|
8814
8812
|
div.editor-root.compact div.editor-content div[data-type=editor-block][data-style-quoted] + div[data-type=editor-block][data-style-quoted] {
|
|
8815
8813
|
margin-top: 0;
|
|
8816
8814
|
}
|
|
8815
|
+
div.editor-root.compact div.editor-content div[data-type=editor-block].layout-block .container-blocks > * + * {
|
|
8816
|
+
margin-top: 0.2em;
|
|
8817
|
+
}
|
|
8817
8818
|
div.editor-root.compact div.editor-content div[data-type=editor-block][data-style-heading="1"]:not(:first-child) {
|
|
8818
8819
|
margin-top: 0.5em !important;
|
|
8819
8820
|
}
|
|
@@ -65173,7 +65174,6 @@ $$${mathData.mathjaxText}$$
|
|
|
65173
65174
|
if (insertPos === "before") {
|
|
65174
65175
|
const beforeBlock = getPrevVisibleBlock(block);
|
|
65175
65176
|
if (!beforeBlock) {
|
|
65176
|
-
assert(logger$1z, isChildContainer(getParentContainer(block)), "block does not in a child container");
|
|
65177
65177
|
const rect = block.getBoundingClientRect();
|
|
65178
65178
|
const viewRect2 = this.getViewRect(block);
|
|
65179
65179
|
return new DOMRect(viewRect2.x, rect.y, viewRect2.width, INDICATOR_SIZE$1);
|
|
@@ -68160,7 +68160,7 @@ ${codeText}
|
|
|
68160
68160
|
return false;
|
|
68161
68161
|
}
|
|
68162
68162
|
if (isRootContainer(getParentContainer(block))) {
|
|
68163
|
-
if (getBlockIndex(block) === 0) {
|
|
68163
|
+
if (getBlockIndex(block) === 0 && isTitleBlock$2(block)) {
|
|
68164
68164
|
return false;
|
|
68165
68165
|
}
|
|
68166
68166
|
}
|
|
@@ -95365,7 +95365,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95365
95365
|
}
|
|
95366
95366
|
}
|
|
95367
95367
|
});
|
|
95368
|
-
editor.version = "2.9.8-beta.
|
|
95368
|
+
editor.version = "2.9.8-beta.21";
|
|
95369
95369
|
return editor;
|
|
95370
95370
|
}
|
|
95371
95371
|
function isDoc(doc2) {
|
|
@@ -95497,7 +95497,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95497
95497
|
OnesEditorDropTarget.register(editor);
|
|
95498
95498
|
OnesEditorTocProvider.register(editor);
|
|
95499
95499
|
OnesEditorExclusiveBlock.register(editor);
|
|
95500
|
-
editor.version = "2.9.8-beta.
|
|
95500
|
+
editor.version = "2.9.8-beta.21";
|
|
95501
95501
|
return editor;
|
|
95502
95502
|
}
|
|
95503
95503
|
async function showDocVersions(editor, options, serverUrl) {
|