@ones-editor/editor 2.9.8-beta.57 → 2.9.8-beta.59
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
|
@@ -8885,7 +8885,7 @@ div.editor-root div.editor-content div[data-type=editor-container].root.select-a
|
|
|
8885
8885
|
margin-top: 0.2em;
|
|
8886
8886
|
}
|
|
8887
8887
|
div.editor-root.compact div.editor-content div[data-type=editor-block][data-style-quoted] + div[data-type=editor-block][data-style-quoted] {
|
|
8888
|
-
margin-top: 0;
|
|
8888
|
+
margin-top: 0 !important;
|
|
8889
8889
|
}
|
|
8890
8890
|
div.editor-root.compact div.editor-content div[data-type=editor-block].layout-block .container-blocks > * + * {
|
|
8891
8891
|
margin-top: 0.2em;
|
|
@@ -95874,7 +95874,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95874
95874
|
}
|
|
95875
95875
|
}
|
|
95876
95876
|
});
|
|
95877
|
-
editor.version = "2.9.8-beta.
|
|
95877
|
+
editor.version = "2.9.8-beta.59";
|
|
95878
95878
|
return editor;
|
|
95879
95879
|
}
|
|
95880
95880
|
function isDoc(doc2) {
|
|
@@ -95939,6 +95939,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95939
95939
|
editor.input.addHandler(new OnesEditorPasteHandler(editor));
|
|
95940
95940
|
editor.input.addHandler(new BlockLockerPasteHandler());
|
|
95941
95941
|
editor.input.addHandler(new ListPasteHandler());
|
|
95942
|
+
editor.doc.registerCallback(new HeadingBlockDocEvents(editor));
|
|
95942
95943
|
editor.addCustom(
|
|
95943
95944
|
"editor-image-preview",
|
|
95944
95945
|
() => new ImagePreviewHandler(editor, (editor2, img) => {
|
|
@@ -96007,7 +96008,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96007
96008
|
OnesEditorDropTarget.register(editor);
|
|
96008
96009
|
OnesEditorTocProvider.register(editor);
|
|
96009
96010
|
OnesEditorExclusiveBlock.register(editor);
|
|
96010
|
-
editor.version = "2.9.8-beta.
|
|
96011
|
+
editor.version = "2.9.8-beta.59";
|
|
96011
96012
|
return editor;
|
|
96012
96013
|
}
|
|
96013
96014
|
async function showDocVersions(editor, options, serverUrl) {
|