@fileverse-dev/ddoc 1.4.2 → 1.4.3
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 +3 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -54266,7 +54266,9 @@ const wQ = async (n, e) => {
|
|
|
54266
54266
|
}, []), dt(() => {
|
|
54267
54267
|
w == null || w.setEditable(!n);
|
|
54268
54268
|
}, [n, w]), dt(() => {
|
|
54269
|
-
e && w && !p.current && (w.commands.setContent(e), p.current = !0)
|
|
54269
|
+
e && w && !p.current && (w.commands.setContent(e), p.current = !0), setTimeout(() => {
|
|
54270
|
+
p.current = !1;
|
|
54271
|
+
});
|
|
54270
54272
|
}, [e, w]);
|
|
54271
54273
|
const k = async () => {
|
|
54272
54274
|
if (!i) return;
|