@fileverse-dev/ddoc 1.6.6 → 1.6.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +7 -10
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -59083,16 +59083,13 @@ const nle = kt.create({
|
|
59083
59083
|
if (!D)
|
59084
59084
|
return;
|
59085
59085
|
const H = () => {
|
59086
|
-
const { state: I } = D, { from: U, to: K } = I.selection;
|
59087
|
-
|
59088
|
-
|
59089
|
-
|
59090
|
-
|
59091
|
-
|
59092
|
-
|
59093
|
-
isHighlightedYellow: v(I, U, K)
|
59094
|
-
});
|
59095
|
-
}
|
59086
|
+
const { state: I } = D, { from: U, to: K } = I.selection, ee = I.doc.textBetween(U, K, " ");
|
59087
|
+
c == null || c({
|
59088
|
+
text: ee,
|
59089
|
+
from: U,
|
59090
|
+
to: K,
|
59091
|
+
isHighlightedYellow: v(I, U, K)
|
59092
|
+
});
|
59096
59093
|
};
|
59097
59094
|
return D.on("selectionUpdate", H), () => {
|
59098
59095
|
D.off("selectionUpdate", H);
|