0

How can i handle copy/paste events on iframe in design mode? i need to change text (reformat it, add proper tags, etc) before copy/paste.

1 Answers1

0

Unless you pop up a dialog containing an area for the user to paste into, you need to do this in a slightly hacky way involving redirecting the paste to an off-screen div. I've written about this on Stack Overflow before: Get html from clipboard in javascript

Community
  • 1
  • 1
Tim Down
  • 318,141
  • 75
  • 454
  • 536