@linker-design-plus/tiny-peony 1.4.17 → 1.4.18
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.d.ts +5 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/intersection/components/editor/editor.d.ts +2 -0
- package/dist/intersection/components/editor/index.d.ts +5 -0
- package/dist/intersection/hooks/use-editor.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4638,7 +4638,7 @@ const Do = [
|
|
|
4638
4638
|
title: "请确认",
|
|
4639
4639
|
content: "确定清空全部内容吗?",
|
|
4640
4640
|
onOk: () => {
|
|
4641
|
-
F(""), setTimeout(() => {
|
|
4641
|
+
F(""), B("clear"), setTimeout(() => {
|
|
4642
4642
|
var J, H;
|
|
4643
4643
|
const L = window.getSelection(), v = L != null && L.rangeCount ? L == null ? void 0 : L.getRangeAt(0) : null;
|
|
4644
4644
|
if (q(L) || v && $(v.commonAncestorContainer) && v.commonAncestorContainer.classList.contains(UA))
|
|
@@ -5769,7 +5769,8 @@ const uB = /* @__PURE__ */ JA(mn, [["render", Kn]]), [xA] = zA("editor-container
|
|
|
5769
5769
|
"update:textCount": (I) => !0,
|
|
5770
5770
|
anchorListen: (I, E) => !0,
|
|
5771
5771
|
anchorListenStop: (I) => !0,
|
|
5772
|
-
anchorRemove: (I) => !0
|
|
5772
|
+
anchorRemove: (I) => !0,
|
|
5773
|
+
clear: () => !0
|
|
5773
5774
|
},
|
|
5774
5775
|
setup: (I, {
|
|
5775
5776
|
slots: E,
|