close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Paste from word issues

Thread began 8/09/2009 11:32 am by raw8888 | Last modified 8/12/2009 6:57 pm by raw8888 | 1786 views | 3 replies

Eric Mittman

I have done a bit of searching around on this and have experimented with some code examples. In my testing I was not able to successfully capture the ctrl + v to prevent the pasting.

It seems to me that this may be possible but it would require some custom js coding to add this in. In the examples I saw you will have a special function that is called in the onkeyup or onkeydown events. This function basically checks for the control key and the v key being pressed at the same time. In most of these functions they use the following for the ctrl key:

event.modifiers & Event.CONTROL_MASK

They make reference to the v key as:

event.keyCode == 86
event.which == 86

The function I was working with set variables to these values then in an if statement just look for both of the variables together. If true it would just clear the text field.

While this may be possible to do with the code getting it implemented correctly could present a bit of a challenge if it is not something you are familiar with.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...