@ones-editor/editor 3.0.0 → 3.0.1-beta.1
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
|
@@ -93766,7 +93766,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
93766
93766
|
return;
|
|
93767
93767
|
}
|
|
93768
93768
|
}
|
|
93769
|
-
if (block.type === "text" || block.textOnly === true) {
|
|
93769
|
+
if (block.type === "text" || block.type === "code-line" || block.textOnly === true) {
|
|
93770
93770
|
const blockObj = await getBlockObject(block, md5HexFunc, getTextsByBox);
|
|
93771
93771
|
await dbg.addTextBlock(blockObj);
|
|
93772
93772
|
return;
|
|
@@ -95949,7 +95949,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95949
95949
|
}
|
|
95950
95950
|
}
|
|
95951
95951
|
});
|
|
95952
|
-
editor.version = "3.0.
|
|
95952
|
+
editor.version = "3.0.1-beta.1";
|
|
95953
95953
|
return editor;
|
|
95954
95954
|
}
|
|
95955
95955
|
function isDoc(doc2) {
|
|
@@ -96083,7 +96083,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96083
96083
|
OnesEditorDropTarget.register(editor);
|
|
96084
96084
|
OnesEditorTocProvider.register(editor);
|
|
96085
96085
|
OnesEditorExclusiveBlock.register(editor);
|
|
96086
|
-
editor.version = "3.0.
|
|
96086
|
+
editor.version = "3.0.1-beta.1";
|
|
96087
96087
|
return editor;
|
|
96088
96088
|
}
|
|
96089
96089
|
async function showDocVersions(editor, options, serverUrl) {
|