Skip to content

Image: how to disable add a image by pasting #2164

Discussion options

You must be logged in to vote

Maybe you could extend the Image extension and rewrite parseHTML this way?
I'm not sure, it might become a problem if you parse HTML later.

parseHTML() {
  //return [
  //  {
  //    tag: 'img[src]',
  //  },
  //]
},

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DengSihan
Comment options

Answer selected by DengSihan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants