Skip to main content
Participant
February 27, 2020
Answered

DW, Stop rewriting my code! pt 2 (bootstrap)

  • February 27, 2020
  • 4 replies
  • 859 views

I'm not sure how long this has been going on, but today i discovered that when I open a file in DW that I have wrirtten OUTSIDE of DW, it rewrites it. It adds FOUR bootstrap lines to my <head>

 

 

<link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap-responsive.css" />
<script type="text/javascript" src="/ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="/bootstrap/js/bootstrap.js"></script>

 

 

 

And towards the end of the file, it REMOVES a line: 

 

 

<script src="/assets/jquery/jquery.min.js"></script>

 

 

 

I have the NEVER REWRITE CODE option checked in preferences, and all the neccessary file extensions listed.  Yet it still rewrites my code, and has been for some time, destroying my work.

To the point where I cannot / will not even use DW anymore.  Which is a d@%# shame.

If I say DO NOT REWRITE MY CODE, then

DO. NOT. REWRITE. MY. CODE.  

 

Ideas? Suggestions?

Thanks.

 

ADDENDUM:  also notice related issue where when I open pages that have been created outside of DW for the first time, i get this popup (you have a spelling error too, btw... see attachment), which creates BOOTSTRAP and SCRIPTLIBRARY folders within my local site and proceeds to insert the above lines of code into my file.

Please stop trying to think for me!  I simply want to use DW edit my code. If you wont allow me to do so without rewriting it without my permission, I'll have to reccomend that we stop using DW.

 

[Font size modified by moderator]

 

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

DW does not re-write my code.   I'm fairly certain you have a Bootstrap Extension that is causing this.

 

Try Restoring Preferences and/or disable extensions.

https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html

 

4 replies

Participant
February 28, 2020

Nancy/Ben -    Thanks!

I took Nancy's initial suggestion, and restored preferences.  THAT SOLVED THE ISSUE!


That process removes all installed extensions, so as per both of your comments, I certainly could have had a bootstrap extension installed that was causing the issue. Especially since it was pointed out that those folders/files are not from Dreamweaver. 

 

That's my guess at least.  Thank you both for your assistance!

 

BenPleysier
Community Expert
Community Expert
February 28, 2020

Do you have a DMXZone Bootstrap or similar extension attached to Dreamweaver?

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Nancy OShea
Community Expert
Community Expert
February 27, 2020

See screenshot.  

 

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
February 27, 2020

DW does not re-write my code.   I'm fairly certain you have a Bootstrap Extension that is causing this.

 

Try Restoring Preferences and/or disable extensions.

https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html

 

Nancy O'Shea— Product User & Community Expert