smart-editor-v3 1.16.16 → 1.16.17
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/smart-editor-package.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -70351,7 +70351,7 @@ const UX = {
|
|
|
70351
70351
|
const { to: Y } = k.state.selection, { renderMarkdown: Q } = e.value.assistant;
|
|
70352
70352
|
l(() => {
|
|
70353
70353
|
var B;
|
|
70354
|
-
const A = I.replace(
|
|
70354
|
+
const A = I.replace(/\$\$([\s\S]*?)\$\$/g, (D, S) => `<p style="text-align: center;">$${S.trim()}$</p>`);
|
|
70355
70355
|
(B = n.value) == null || B.chain().focus().insertContentAt({ from: z, to: Y }, Q ? Q(A, !1) : I).run();
|
|
70356
70356
|
});
|
|
70357
70357
|
}
|
|
@@ -70389,7 +70389,7 @@ const UX = {
|
|
|
70389
70389
|
], 64);
|
|
70390
70390
|
};
|
|
70391
70391
|
}
|
|
70392
|
-
}, VX = /* @__PURE__ */ ot(UX, [["__scopeId", "data-v-
|
|
70392
|
+
}, VX = /* @__PURE__ */ ot(UX, [["__scopeId", "data-v-ffb0f0e0"]]), WX = { class: "smart-toc-container" }, qX = ["textContent"], KX = {
|
|
70393
70393
|
__name: "toc",
|
|
70394
70394
|
setup(t) {
|
|
70395
70395
|
const { editor: e } = ve(), n = ae([]);
|