@ones-editor/editor 5.0.6-beta.p8216.1 → 5.0.6-beta.p8216.2
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
|
@@ -27177,9 +27177,6 @@ var __publicField = (obj, key, value) => {
|
|
|
27177
27177
|
return text2;
|
|
27178
27178
|
}
|
|
27179
27179
|
function blockToText(editor, blockData, doc2, path) {
|
|
27180
|
-
if (blockData.type === "embed" && blockData.embedType === WIKI_MACRO_TYPE) {
|
|
27181
|
-
return wikiMacroToText(blockData.embedData);
|
|
27182
|
-
}
|
|
27183
27180
|
const blockClass = getBlockClassByType(editor, blockData.type);
|
|
27184
27181
|
if (blockClass.convertTo) {
|
|
27185
27182
|
return blockClass.convertTo(editor, blockData, doc2, "text", path);
|
|
@@ -98049,7 +98046,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
98049
98046
|
}
|
|
98050
98047
|
}
|
|
98051
98048
|
});
|
|
98052
|
-
editor.version = "5.0.6-beta.p8216.
|
|
98049
|
+
editor.version = "5.0.6-beta.p8216.2";
|
|
98053
98050
|
return editor;
|
|
98054
98051
|
}
|
|
98055
98052
|
function isDoc(doc2) {
|
|
@@ -98185,7 +98182,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
98185
98182
|
OnesEditorDropTarget.register(editor);
|
|
98186
98183
|
OnesEditorTocProvider.register(editor);
|
|
98187
98184
|
OnesEditorExclusiveBlock.register(editor);
|
|
98188
|
-
editor.version = "5.0.6-beta.p8216.
|
|
98185
|
+
editor.version = "5.0.6-beta.p8216.2";
|
|
98189
98186
|
return editor;
|
|
98190
98187
|
} catch (error2) {
|
|
98191
98188
|
try {
|
|
@@ -98328,7 +98325,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
98328
98325
|
}
|
|
98329
98326
|
}
|
|
98330
98327
|
});
|
|
98331
|
-
editor.version = "5.0.6-beta.p8216.
|
|
98328
|
+
editor.version = "5.0.6-beta.p8216.2";
|
|
98332
98329
|
return editor;
|
|
98333
98330
|
}
|
|
98334
98331
|
const emojis$1 = {
|