Portal Home > Knowledgebase > Articles Database > Copy To clipboard issue!!!


Copy To clipboard issue!!!




Posted by cynosure1023, 11-26-2011, 05:49 PM
Hi All, I have created this Copy To clipboard code and the text which I am copying have codes like a
and when I use the code its displaying the gaps and is not removing the format when copied. The code is: I have this extra line "Copied.execCommand("RemoveFormat")" to remove any formats but is not working. The result is like this: ***See image attached*** Could anyone please throw some light or guide on how I can remove the formatting. Thanks in advance. Attached Thumbnails  

Posted by cynosure1023, 11-26-2011, 06:31 PM
I got it sorted.

Posted by bear, 11-26-2011, 07:47 PM
Please help the next person by revealing what you'd done.

Posted by cynosure1023, 11-30-2011, 05:47 PM
All of the above code is correct. Make sure you insert the extra line in script: Copied.execCommand("RemoveFormat") Also make sure if you are copying it to a word document the formatting is set to normal as in my case i am using Office 2010 and formatting was set to as spacing by default..



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Setup ssh for users (Views: 566)