• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Problems with inserting text into the draft view

New Here ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Hello,
I have a problem with Dreamweaver version 21.3.
When I copy new text I have written with MS Word into the draft view of Dreamweaver, I get the following error message:


This change would require changing code that is locked by a template or translator. The change will be discarded.


It is sufficient if I copy a single sentence from Word into the design view, to get this message.

I have no problems if I select the "Paste text only" option. That works.
However, Dreamweaver refuses to accept pre-formatted text.
Does anyone know of this problem and perhaps has a solution?
Thank you very much

 

TOPICS
Code , Error , Product issue

Views

111

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

This isn't Dreamweaver refusing to accept the text. From the sounds of your issue, you are trying to paste code into a Dreamweaver template into an area that is not marked as editable. Thus if you make this change, it would impact all files associated with that template and this change must be made on the .dwt file and not in the html document itself. If you want to post an example of where you are trying to copy/paste and code, we can highlight this for you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

Hi Ben,

Thank you very much for your reply.
I have discovered the cause of the problem in the meantime.
Dreamweaver seems to be sensitive to text from different versions of MS Word.
My problem only occurs when I use the text from the latest version of MS Word.
Everything is ok with an older version.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 17, 2024 Apr 17, 2024

Copy link to clipboard

Copied

LATEST

Formatted text from MS Word contains unwanted junk code that can adversely effect the performance of your HTML document.

 

Given that you're working with Template child pages, it's vitally important to keep code errors to a minimum.

 

For best results, use Paste Special > Text only or Text with structure

If needed, restyle your unformatted text with CSS from your external or embedded stylesheet(s).

 

Hope that helps.

 

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines