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