@kaitify/vue 0.0.4-beta.22 → 0.0.4-beta.23
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/lib/kaitify-vue.es.js +2 -1
- package/lib/kaitify-vue.umd.js +1 -1
- package/package.json +2 -2
package/lib/kaitify-vue.es.js
CHANGED
|
@@ -2731,9 +2731,10 @@ const handlerForPasteDrop = async function(dataTransfer) {
|
|
|
2731
2731
|
const html = dataTransfer.getData("text/html");
|
|
2732
2732
|
const text2 = dataTransfer.getData("text/plain");
|
|
2733
2733
|
const files = dataTransfer.files;
|
|
2734
|
+
debugger;
|
|
2734
2735
|
if (files.length && this.priorityPasteFiles) {
|
|
2735
2736
|
await handlerForPasteFiles.apply(this, [files]);
|
|
2736
|
-
} else if (html && this.allowPasteHtml) {
|
|
2737
|
+
} else if (html && this.allowPasteHtml && !this.selection.start.node.isInCodeBlockStyle()) {
|
|
2737
2738
|
const nodes = this.htmlParseNode(html).filter((item) => {
|
|
2738
2739
|
return !item.isEmpty();
|
|
2739
2740
|
});
|