I am using Dreamweaver CS5 on a Windows 7, 64-bit machine. It's been up and stable for months and months.
I don't recall installing anything before this happened or doing anything strange, but...
... recently Paste Special or Paste has stopped allowing me to past with either "Text with structure plus basic formatting (bold, italic)" or "Text with structure plus full formatting (bold, italic, sytles)
Those last two radio buttons on the Paste Special panel are grayed out.
This afternoon I re-installed DW CS5 from the installation discs and ran the updater (I did NOT first delete DW.) Reinstalling did NOT repair the problem.
What is the source material? and which software are you copying from?
If I copy and paste text from Word or any browser, I get all four options in Paste Special.
If I copy and paste unformatted text e.g. HTML or CSS code, from a plain text editor such as Notepad, Notepad++ or even DW's Code View then I only get the first two. The bottom two are greyed out.
Source material has been:
This seems to be the same exact issue I am having in Dreanweaver.. my work production has come to complete stop because of this problem and I cannot afford to stop working nor rebuild new templates, etc,
when I copy and paste it ends up something like this:
I copy for example:
<td>test text </td>
paste in another row and a new row is supposed to have the same thing. instead i get this:
<tr>
<td>test text </td>
</tr>
<tr>
<td><p>test text </p>
<p></p></td>
</tr>
Last Friday, Dreamweaver came back from the alternative universe and started allowing formatted pasting again. I swear it was nothing I did.
My suspicions:
There are 2 things that can be happening here:
1. The character encoding of your HTML page is not supporting the chosen/ copied text
or else
2. There is some caching issues with your operating system's clipboard
Rebooting doesn't solve issues in Dreamweaver. It solves issues in your OS that in turn affects DW to work properly.
Here is what is going on..
the above image is the default dreamweaver c&p
the above image is the area trying to paste.. which includes an entire row of html within a table and includes an image. so i try to copy and paste.. the following is the end result.
and finally here is the paste special options i am given.
DW uses pre-defined algorithms for 'Paste Special' and this depends on the entirety of content you're trying to Copy/ Paste and is purely a case-to-case function.
In your case, I see 1 feasible option that may do just what you want it to:
Open Preferences > Copy/ Paste > Select the 4th radio button (Full Formatting)
Once you do this, try copying/ pasting again. Let us know if this works. Ideally, it should as DW will also help you do a Paste Special with full formatting - it should try to retain as much styles as possible.
Also, if possible, run your source file through the W3 validator here: http://validator.w3.org which should ideally validate all HTML + CSS content on your page. Let u know the results that come up after you validate your page.
Quick Tip: Try doing a similar copy/ paste special on a different file. Let us know if the same issue persists.
It seems like you've commented lots of code in what you've sent me. With the code you sent, let me know the line numbers you're trying to copy and any relevant images associated with them to enable me to come up with a solution to your issue.
PS: This issue is completely resolvable. I've experienced similar issues earlier and I've been able to find a way around it.
See this screen capture video of my trial. It worked just fine.
Also, like mentioned, 'Paste Special' is primarily an option if you're importing content from other rich text editors such as Word. For cross-copying between 2 DW files, I wouldn't use that if I were you. I'd simply just copy the code alone from 'Code View' and paste it in the new document. I'm sure it will work just the way its supposed to. I also remember you mentioning it worked just fine for you this way!
North America
Europe, Middle East and Africa
Asia Pacific