vue-froala-wysiwyg icon indicating copy to clipboard operation
vue-froala-wysiwyg copied to clipboard

Returning a string from the 'paste.beforeCleanup' event is being ignored

Open anrolmar opened this issue 1 year ago • 0 comments

Hi, everyone.

When I try to return a string on the onPasteBeforeCleanup event, the string is being ignored. This is my code:

async onPasteBeforeCleanup(clipboard_html: string) { return 'my content' },

but the paste content is the content I copied on clipboard.

I saw you fixed this on version 4.0.14.

I'm using the version 4.0.18.

Any ideas?

anrolmar avatar May 04 '23 11:05 anrolmar