@dialpad/dialtone-vue 3.219.0 → 3.219.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/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/dialtone-vue.cjs +1 -1
- package/dist/dialtone-vue.js +2 -2
- package/dist/lib/editor/editor.cjs +1 -1
- package/dist/lib/editor/editor.js +1 -1
- package/dist/lib/message-input/index.cjs +1 -1
- package/dist/lib/message-input/index.js +1 -1
- package/dist/lib/message-input/message-input.cjs +1 -1
- package/dist/lib/message-input/message-input.js +1 -1
- package/dist/lib/rich-text-editor/index.cjs +1 -1
- package/dist/lib/rich-text-editor/index.js +1 -1
- package/dist/lib/rich-text-editor/rich-text-editor.cjs +1 -1
- package/dist/lib/rich-text-editor/rich-text-editor.js +1 -1
- package/dist/{message_input-CHlTsBGK.js → message_input-15gar4iy.js} +2 -2
- package/dist/{message_input-CHlTsBGK.js.map → message_input-15gar4iy.js.map} +1 -1
- package/dist/{message_input-AWgvtwMV.cjs → message_input-C9OkeBcE.cjs} +2 -2
- package/dist/{message_input-AWgvtwMV.cjs.map → message_input-C9OkeBcE.cjs.map} +1 -1
- package/dist/{rich_text_editor-DMP5eTlf.cjs → rich_text_editor-DfniiQVS.cjs} +2 -2
- package/dist/{rich_text_editor-DMP5eTlf.cjs.map → rich_text_editor-DfniiQVS.cjs.map} +1 -1
- package/dist/{rich_text_editor-Ba67C4Uk.js → rich_text_editor-jVEuSPUG.js} +4 -4
- package/dist/{rich_text_editor-Ba67C4Uk.js.map → rich_text_editor-jVEuSPUG.js.map} +1 -1
- package/package.json +5 -5
|
@@ -2761,10 +2761,10 @@ var Vi = {
|
|
|
2761
2761
|
return;
|
|
2762
2762
|
}
|
|
2763
2763
|
r.find((t) => t.test(e)) || (e = `${i}${e}`), this.editor.chain().focus().extendMarkRange("link").run();
|
|
2764
|
-
let a = this.editor?.view?.state?.selection;
|
|
2765
|
-
this.editor.chain().focus().insertContent(
|
|
2764
|
+
let a = this.editor?.view?.state?.selection, o = t || e;
|
|
2765
|
+
this.editor.chain().focus().insertContent(o).setTextSelection({
|
|
2766
2766
|
from: a.from,
|
|
2767
|
-
to: a.from +
|
|
2767
|
+
to: a.from + o.length
|
|
2768
2768
|
}).setLink({
|
|
2769
2769
|
href: e,
|
|
2770
2770
|
class: n.class
|
|
@@ -2953,4 +2953,4 @@ var Gi = /* @__PURE__ */ i(Hi, [["render", Wi]]);
|
|
|
2953
2953
|
//#endregion
|
|
2954
2954
|
export { Gi as t };
|
|
2955
2955
|
|
|
2956
|
-
//# sourceMappingURL=rich_text_editor-
|
|
2956
|
+
//# sourceMappingURL=rich_text_editor-jVEuSPUG.js.map
|