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

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