@vipl520/dk-ui 1.0.69 → 1.0.70

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -1489,13 +1489,16 @@
1489
1489
  reject(err);
1490
1490
  });
1491
1491
  });
1492
+ const tinymceId = vue.ref("vue-tinymce-" + +/* @__PURE__ */ new Date() + ((Math.random() * 1e3).toFixed(0) + ""));
1492
1493
  const init = vue.ref({
1494
+ selector: "#" + tinymceId.value,
1493
1495
  ...config$1,
1494
1496
  height: props.height,
1495
1497
  content_css: props.document ? "document" : "",
1496
1498
  images_upload_handler: handleImageUpload,
1497
1499
  initialContent: "Loading editor..."
1498
1500
  });
1501
+ console.log("init", init);
1499
1502
  const tinymceSrc = vue.ref("https://cdn-1251560393.cos.ap-chengdu.myqcloud.com/lib/tinymce/tinymce.min.js");
1500
1503
  const attachmentRef = vue.ref();
1501
1504
  const editorRef = vue.ref();