@fileverse-dev/ddoc 2.1.3-patch-12 → 2.1.3-patch-14
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 +8 -7
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -146678,14 +146678,14 @@ const t_ = ({
|
|
146678
146678
|
(l) => l.id === e
|
146679
146679
|
), o = {
|
146680
146680
|
shouldShow: ({ editor: l }) => {
|
146681
|
-
var
|
146682
|
-
const c = (
|
146683
|
-
if (
|
146684
|
-
const
|
146685
|
-
l.commands.setCommentActive(
|
146681
|
+
var d, h;
|
146682
|
+
const c = (d = l.getAttributes("comment")) == null ? void 0 : d.resolved, u = l.view.hasFocus(), f = l.isActive("comment") && !c && u;
|
146683
|
+
if (f) {
|
146684
|
+
const p = (h = l.getAttributes("comment")) == null ? void 0 : h.commentId;
|
146685
|
+
l.commands.setCommentActive(p);
|
146686
146686
|
} else
|
146687
146687
|
l.commands.unsetCommentActive();
|
146688
|
-
return
|
146688
|
+
return f;
|
146689
146689
|
},
|
146690
146690
|
onHide: ({ editor: l }) => {
|
146691
146691
|
l.commands.unsetCommentActive();
|
@@ -146701,7 +146701,8 @@ const t_ = ({
|
|
146701
146701
|
followCursor: "vertical",
|
146702
146702
|
interactive: !0,
|
146703
146703
|
inertia: !0,
|
146704
|
-
trigger: "
|
146704
|
+
trigger: "manual",
|
146705
|
+
hideOnClick: !0,
|
146705
146706
|
inlinePositioning: !0,
|
146706
146707
|
popperOptions: {
|
146707
146708
|
strategy: "fixed",
|