Skip to main content
Participant
July 28, 2022
Answered

DW 21.2 Copy paste Failing to keep formatting

  • July 28, 2022
  • 3 replies
  • 463 views

Hi

I am not new to DW but the 21.2 version seems to lose formatting after I copy and paste from a word document. The first time I do it it keeps the formatting after that every thing gets pasted as palin text....

This topic has been closed for replies.
Correct answer Nancy OShea

DW is not a word processor and should not be used like one.  It's web authoring software. Stripping out MS Word junk code is a good thing.  😇

 

Switch to Design View.

Go to Edit > Paste Special and select Text Only or Text with Structure.

Do not introduce full formatting from MS Office.  Instead, use CSS to style your HTML content.

 

Validate code and fix reported errors.

Window > Results > Validation... check document.

 

Hope that helps.

 

3 replies

Participant
July 29, 2022

You had it right in the first answer way below, not sure why you thought I am using DW as word process. I like the Junk code to be cleaned....

Nayan_Kankariya
Community Manager
Community Manager
July 29, 2022

Hi @ShakkerOntario,

 

Thanks for writing to us. Can you please try updating to Dw 21.3 version and let us know if the issue is reproducible.

 

Have a pleasant day!

 

Regards,

Nayan

Dreamweaver Team

Participant
July 29, 2022

Thank you Nayan

The issue was not with the version, it was related to the view mode I was working on. 

 

 

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
July 28, 2022

DW is not a word processor and should not be used like one.  It's web authoring software. Stripping out MS Word junk code is a good thing.  😇

 

Switch to Design View.

Go to Edit > Paste Special and select Text Only or Text with Structure.

Do not introduce full formatting from MS Office.  Instead, use CSS to style your HTML content.

 

Validate code and fix reported errors.

Window > Results > Validation... check document.

 

Hope that helps.

 

Nancy O'Shea— Product User & Community Expert
Participant
July 29, 2022

Hi Nancy

 

Thank you for your help! It turns out my split screen defaulted to Code-Live instead of Code-Design. When it was switched to Code-Design the paste with structure now works correctly.

 

Thanks again