@ones-editor/editor 2.9.8-beta.13 → 2.9.8-beta.16
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/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +16 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8809,7 +8809,10 @@ div.editor-root div.editor-content div[data-type=editor-container].root.select-a
|
|
|
8809
8809
|
margin-left: 5px;
|
|
8810
8810
|
margin-right: 5px;
|
|
8811
8811
|
}div.editor-root.compact div.editor-content div[data-type=editor-container].root > .container-blocks > * + * {
|
|
8812
|
-
margin: 0.2em
|
|
8812
|
+
margin-top: 0.2em;
|
|
8813
|
+
}
|
|
8814
|
+
div.editor-root.compact div.editor-content div[data-type=editor-block][data-style-quoted] + div[data-type=editor-block][data-style-quoted] {
|
|
8815
|
+
margin-top: 0;
|
|
8813
8816
|
}
|
|
8814
8817
|
div.editor-root.compact.no-heading-collapse.no-block-menu > .editor-content {
|
|
8815
8818
|
padding-left: 10px;
|
|
@@ -31789,11 +31792,16 @@ ${codeText}
|
|
|
31789
31792
|
return rangeResult;
|
|
31790
31793
|
}
|
|
31791
31794
|
}
|
|
31792
|
-
|
|
31793
|
-
|
|
31794
|
-
const
|
|
31795
|
-
|
|
31796
|
-
|
|
31795
|
+
editor.doc.beginBatchUpdate();
|
|
31796
|
+
try {
|
|
31797
|
+
const blocks = range.getSelectedBlocks();
|
|
31798
|
+
blocks.forEach((b) => {
|
|
31799
|
+
const childRange = createEditorSelectionRange(editor, { anchor: b.start, focus: b.end });
|
|
31800
|
+
this.executeBlockCommand(editor, b.block, childRange, command, params, rangeResult);
|
|
31801
|
+
});
|
|
31802
|
+
} finally {
|
|
31803
|
+
editor.doc.endBatchUpdate();
|
|
31804
|
+
}
|
|
31797
31805
|
if (!clientType.isMobile) {
|
|
31798
31806
|
editor.focus();
|
|
31799
31807
|
}
|
|
@@ -95302,7 +95310,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95302
95310
|
}
|
|
95303
95311
|
}
|
|
95304
95312
|
});
|
|
95305
|
-
editor.version = "2.9.8-beta.
|
|
95313
|
+
editor.version = "2.9.8-beta.16";
|
|
95306
95314
|
return editor;
|
|
95307
95315
|
}
|
|
95308
95316
|
function isDoc(doc2) {
|
|
@@ -95434,7 +95442,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95434
95442
|
OnesEditorDropTarget.register(editor);
|
|
95435
95443
|
OnesEditorTocProvider.register(editor);
|
|
95436
95444
|
OnesEditorExclusiveBlock.register(editor);
|
|
95437
|
-
editor.version = "2.9.8-beta.
|
|
95445
|
+
editor.version = "2.9.8-beta.16";
|
|
95438
95446
|
return editor;
|
|
95439
95447
|
}
|
|
95440
95448
|
async function showDocVersions(editor, options, serverUrl) {
|