Replies: 2 comments
-
|
anyone? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You need to define a paste rule to remove the image nodes in the clipboard's slice. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Before I start, great work on this framework. This has really help simplify Markdown integration into my app.
I am using the most simplistic approach with using Crepe.
I would like to prevent the pasting of inline images into the WYSIWYG. I'm fine in allow images to be uploaded with a url pointing to the uploaded image, and have already implemented this, but don't want to allow copying/pasting of images into the WYSIWYG directly. Can this be easily prevented? I have looked at the documentation, and still unclear how to achieve this.
Capturing the paste event does not work as this is too late to prevent the paste action occurring.
Really appreciate any guidance you can recommend.
Beta Was this translation helpful? Give feedback.
All reactions