Click to See Complete Forum and Search --> : Capture CRTL+V an reformat the clipboard content? How?


foxmac
07-23-2003, 07:41 AM
Hello!

In my Backoffice I have several fields which are Java Script HTML Editors. In these editors you can only format the text bold, italic and two kinds of paragraph formats. No other format style is allowed, no other font and so on. Now, i have the problem that you can copy (CRTL+C) and paste (CTRL+V) content of a webpage and insert this in my editors. The format style of the copied text is a copy of the HTML and I have other fonts, colors and other styles - also pictures etc.

Now I like to capture the CTRL + V and reformat the content of the clipboard - i like to paste only the copied Text with no style. After the reformat i like to paste the reformated text on this position where the curser is.

Can someone help me to create this script. I have much problems to do this. Thanks a lot - FOX