@fileverse-dev/ddoc 1.6.9 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -59526,7 +59526,9 @@ const Ple = kt.create({
59526
59526
  Ye(() => {
59527
59527
  w == null || w.setEditable(!t);
59528
59528
  }, [t, w]), Ye(() => {
59529
- console.log("helo world"), e && w && !m.current && (console.log(e), w.commands.setContent(e), m.current = !0), setTimeout(() => {
59529
+ e && w && !m.current && (queueMicrotask(() => {
59530
+ w.commands.setContent(e);
59531
+ }), m.current = !0), setTimeout(() => {
59530
59532
  m.current = !1;
59531
59533
  });
59532
59534
  }, [e, w]), Ye(() => {