rme 0.3.0-beta.3 → 0.3.0-beta.4

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/dist/index.mjs CHANGED
@@ -3834,6 +3834,7 @@ var ClipboardExtension = class extends PlainExtension2 {
3834
3834
  return {
3835
3835
  props: {
3836
3836
  handlePaste: (view, event) => {
3837
+ console.log("handlePaste", event);
3837
3838
  const transformer = getTransformerByView(view);
3838
3839
  const parser = transformer.stringToDoc;
3839
3840
  const schema = view.state.schema;
@@ -3925,7 +3926,8 @@ var ClipboardExtension = class extends PlainExtension2 {
3925
3926
  return false;
3926
3927
  }
3927
3928
  if (params.dispatch) {
3928
- document.execCommand("copy");
3929
+ console.log("execCommand paste");
3930
+ document.execCommand("paste");
3929
3931
  }
3930
3932
  return true;
3931
3933
  };