wordinweb 0.2.0 → 0.2.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/collab.js
CHANGED
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
setSmartArtTextFormat,
|
|
79
79
|
toggleCheckbox,
|
|
80
80
|
validatePastedOoxml
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-JGXXZTQE.js";
|
|
82
82
|
import "./chunk-7D4SUZUM.js";
|
|
83
83
|
|
|
84
84
|
// src/collab.tsx
|
|
@@ -4735,7 +4735,7 @@ function CollabEditor(opts) {
|
|
|
4735
4735
|
const session = useCollab(opts);
|
|
4736
4736
|
useEffect(() => {
|
|
4737
4737
|
opts.onSession?.(session);
|
|
4738
|
-
}, [session.version, session.ready, session.refused, session.roster, session.epochChanged, session.sessionWarning, session.writesBlocked, session.connection]);
|
|
4738
|
+
}, [session.version, session.ready, session.refused, session.roster, session.epochChanged, session.sessionWarning, session.writesBlocked, session.connection, session.persistErrors]);
|
|
4739
4739
|
const [api, setApi] = useState(null);
|
|
4740
4740
|
const pendingCaretRef = useRef(null);
|
|
4741
4741
|
const seenEpochRef = useRef(session.docEpoch);
|