close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Paste from word issues

Thread began 8/09/2009 8:32 am by raw8888 | Last modified 8/12/2009 3:57 pm by Eric Mittman | 2443 views | 3 replies |

raw8888

Paste from word issues

Our Sites allow clients to paste their resumes into an Irite textarea. If you right click to paste , the pop-up box opens and the document that is pasted into that box transmits fine. The problem occurs when the client controls V directly into the textarea... the paste box does not appear , the copy goes into the area but the resulting transmission is :

Resume: <p><meta content="text/html; charset=utf-8" http-equiv="Content-Type" /><meta content="Word.Document" name="ProgId" /><meta content="Microsoft Word 11" name="Generator" /><meta content="Microsoft Word 11" name="Originator" /><link href="file:///C:DOCUME~1OwnerLOCALS~1Tempmsohtml1

the resumes are not put into a database but are sent via email.

also when the text is transmitted correctly (using the pop-up box), this line appears above the resume:
Normal 0 false false false MicrosoftInternetExplorer4

thanks

Sign in to reply to this post

Eric Mittman

When you are in the iRite wizard on the formatting tab do you have the checkbox for 'keep structure from Word' checked? This option should allow you to paste from word and retain the structure. Please give it a try with this option enabled to see if you get a better result.

Sign in to reply to this post

raw8888

yes it is checked...it works as designed as long as you right click into the text area... I need to prevent the user from control V directly into the textarea because that is when it breaks down.

Sign in to reply to this post

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.ctrlKey
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.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...