@fileverse-dev/ddoc 7.2.5-tiptap.0 → 7.2.5-tiptap.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.es.js +7 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -21115,10 +21115,13 @@ const dy = Je.memo(
|
|
|
21115
21115
|
toggleShowReplace: h
|
|
21116
21116
|
} = ji((k) => k.actions), m = Pr({
|
|
21117
21117
|
editor: e,
|
|
21118
|
-
selector: ({ editor: k }) =>
|
|
21119
|
-
|
|
21120
|
-
|
|
21121
|
-
|
|
21118
|
+
selector: ({ editor: k }) => {
|
|
21119
|
+
const R = r ? k == null ? void 0 : k.storage.searchAndReplace : void 0;
|
|
21120
|
+
return {
|
|
21121
|
+
resultCount: R == null ? void 0 : R.results.length,
|
|
21122
|
+
resultIndex: R == null ? void 0 : R.resultIndex
|
|
21123
|
+
};
|
|
21124
|
+
}
|
|
21122
21125
|
}), p = m == null ? void 0 : m.resultCount, f = m == null ? void 0 : m.resultIndex, y = O(
|
|
21123
21126
|
function() {
|
|
21124
21127
|
if (!e) return;
|