Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Google Web Designer beta
Conversations
Labels
About
GWD removing commented out scripts etc in head
54 views
code-editor
code-output-html
codeview
feature-request
general-discussion
issuesbugs
Skip to first unread message
Chris Howard
unread,
Oct 23, 2017, 2:38:25 AM
10/23/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Designer beta
Hi all,
I have been trying to setup a file for multiple outputs.
The problem is I wanted to comment out the areas and add them back in as necessary in the code view.
For example adding in the script for Sizmek's platform "<script type="text/javascript" src="
https://secure-ds.serving-sys.com/BurstingScript/EBLoader.js
"></
script>" but as the below so it is not active.
...
<!--<script type="text/javascript" src="
https://secure-ds.serving-sys.com/BurstingScript/EBLoader.js
"></
script>-->
</head>
The issue is once you save the file and reopen in GWD it has completely removed the comments and everything inside them.
Has anyone else experienced this issue and/or knows how to resolve it or is it simply not possible using GWD?
Any information or help is greatly appreciated.
Thanks,
Chris
Kent Myers
unread,
Oct 23, 2017, 11:10:09 AM
10/23/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Designer beta
Sorry, removing comments in the HTML & CSS is the intended behavior.
Maybe you could rewrite your scripts to make the changes there, as comments in the javascript will be respected.
Hope that helps,
Kent
Google Web Designer team
Reply all
Reply to author
Forward
0 new messages