@ones-editor/editor 3.0.3-beta.7 → 3.0.3-beta.8
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
|
@@ -95511,9 +95511,8 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95511
95511
|
}
|
|
95512
95512
|
const elem = node;
|
|
95513
95513
|
const refId = elem.getAttribute("data-ref-id");
|
|
95514
|
-
const refType = elem.getAttribute("data-ref-type");
|
|
95515
95514
|
const uuid = elem.getAttribute("data-uuid");
|
|
95516
|
-
return Boolean(
|
|
95515
|
+
return Boolean(refId && uuid);
|
|
95517
95516
|
},
|
|
95518
95517
|
replacement: (content, node) => {
|
|
95519
95518
|
const refType = node.getAttribute("data-ref-type");
|
|
@@ -96051,7 +96050,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96051
96050
|
}
|
|
96052
96051
|
}
|
|
96053
96052
|
});
|
|
96054
|
-
editor.version = "3.0.3-beta.
|
|
96053
|
+
editor.version = "3.0.3-beta.8";
|
|
96055
96054
|
return editor;
|
|
96056
96055
|
}
|
|
96057
96056
|
function isDoc(doc2) {
|
|
@@ -96185,7 +96184,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96185
96184
|
OnesEditorDropTarget.register(editor);
|
|
96186
96185
|
OnesEditorTocProvider.register(editor);
|
|
96187
96186
|
OnesEditorExclusiveBlock.register(editor);
|
|
96188
|
-
editor.version = "3.0.3-beta.
|
|
96187
|
+
editor.version = "3.0.3-beta.8";
|
|
96189
96188
|
return editor;
|
|
96190
96189
|
}
|
|
96191
96190
|
async function showDocVersions(editor, options, serverUrl) {
|
|
@@ -96320,7 +96319,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96320
96319
|
}
|
|
96321
96320
|
}
|
|
96322
96321
|
});
|
|
96323
|
-
editor.version = "3.0.3-beta.
|
|
96322
|
+
editor.version = "3.0.3-beta.8";
|
|
96324
96323
|
return editor;
|
|
96325
96324
|
}
|
|
96326
96325
|
const emojis$1 = {
|