Skip to main content
Participant
Feb 27, 2020 3:37 PM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
Nancy OShea
Nancy OSheaCorrect answer
Community Expert
Feb 27, 2020 7:13 PM UTC

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

4 replies

Participant
Feb 28, 2020 2:30 PM UTC

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!

 

Translate
BenPleysier
Community Expert
Community Expert
Feb 28, 2020 1:25 AM UTC

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

Translate
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
Feb 27, 2020 10:07 PM UTC

See screenshot.  

 

Translate
Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
Feb 27, 2020 7:13 PM UTC

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

 

Translate
Nancy O'Shea— Product User & Community Expert