@vipl520/dk-ui 1.0.68 → 1.0.70
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.js +4 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +4 -4
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/web-types.json +1 -1
- package/es/tiny-editor/src/config.mjs +1 -1
- package/es/tiny-editor/src/config.mjs.map +1 -1
- package/es/tiny-editor/src/tiny-editor.vue2.mjs +3 -0
- package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
- package/lib/tiny-editor/src/config.js +1 -1
- package/lib/tiny-editor/src/config.js.map +1 -1
- package/lib/tiny-editor/src/tiny-editor.vue2.js +3 -0
- package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1356,7 +1356,7 @@
|
|
1356
1356
|
editimage_cors_hosts: ["picsum.photos"],
|
1357
1357
|
menubar: "file edit view insert format tools table help",
|
1358
1358
|
toolbar: "showImage bold italic underline strikethrough fontfamily fontsize blocks alignleft aligncenter alignright alignjustify numlist bullist forecolor backcolor removeformat image media link emoticons code preview fullscreen |",
|
1359
|
-
toolbar_sticky:
|
1359
|
+
toolbar_sticky: false,
|
1360
1360
|
// content_css: 'document',
|
1361
1361
|
height: 400,
|
1362
1362
|
quickbars_selection_toolbar: "bold italic | quicklink h2 h3 blockquote showImage",
|
@@ -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();
|