@fileverse-dev/ddoc 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
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;