import { Slice } from 'prosemirror-model';
import { Plugin } from 'prosemirror-state';
import { handlePaste } from "../handle-paste.js";
export const codeBlockPastePlugin = () => new Plugin({
    props: {
        handleDOMEvents: {
            paste(view, e) {
                if (handlePaste(view, e, Slice.empty)) {
                    e.preventDefault();
                    return true;
                }
                return false;
            },
        },
    },
});
//# sourceMappingURL=codeBlockPastePlugin.js.map
