@kaitify/core 0.0.2-beta.14 → 0.0.2-beta.16

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.
@@ -2789,7 +2789,7 @@ const handlerForPasteDrop = async function(dataTransfer) {
2789
2789
  const files = dataTransfer.files;
2790
2790
  if (files.length && this.priorityPasteFiles) {
2791
2791
  await handlerForPasteFiles.apply(this, [files]);
2792
- } else if (html && this.allowPasteHtml) {
2792
+ } else if (html && this.allowPasteHtml && !this.selection.start.node.isInCodeBlockStyle()) {
2793
2793
  const nodes = this.htmlParseNode(html).filter((item) => {
2794
2794
  return !item.isEmpty();
2795
2795
  });