inserting and deleting code snippets

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
reddog
 
 
Posts: 3
Joined: Fri Aug 07, 2020 5:49 pm

inserting and deleting code snippets

Post by reddog »

I have used 'Page Html' to insert some code relevant to a shopping cart. Since then the shopping cart has been up-graded and I need to enter its new code. That's not a problem but how can I delete the old code, which is preventing the new shopping cart from working?
User avatar
crispy68
 
 
Posts: 3090
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: inserting and deleting code snippets

Post by crispy68 »

The same way you inserted it is the same way you delete it.
reddog
 
 
Posts: 3
Joined: Fri Aug 07, 2020 5:49 pm

Re: inserting and deleting code snippets

Post by reddog »

Thanks for replying - that made me dig a bit deeper and eventually I found the way to do it. A little more detailed information would have saved some time, but thanks anyway.
reddog
 
 
Posts: 3
Joined: Fri Aug 07, 2020 5:49 pm

Re: inserting and deleting code snippets

Post by reddog »

Coming back to this topic, the method of removing an html snippet from the page html that worked in WYSIWYG 15, doesn't work for me in WYSIWYG 16.
Is there a bug here in 16, or is there now a better way of removing html code from the page?

The problem seems to be that when you insert a code snippet and click OK, it doesn't get deleted from the dialogue box. That prevents any further use of the Page html facility. Even closing the program and restarting doesn't clear the dialogue box.

Has anyone else had this problem?
User avatar
crispy68
 
 
Posts: 3090
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: inserting and deleting code snippets

Post by crispy68 »

There is no bug that I'm aware of. All you have to do is highlight the code and hit delete and then ok. WB 16 is no different in this regards than WB15.
is there now a better way of removing html code from the page?
You remove it the same way you added it like I mentioned before. Did you by chance use an HTML Object to insert the code?

In your original post you mentioned you put code into the Page HTML section which you access by clicking on Page --> Page HTML. Here you will see there are several areas that you can insert code for the page.

Where did you insert the code exactly?
Thorson
 
 
Posts: 1
Joined: Mon Mar 21, 2022 7:54 pm

Re: inserting and deleting code snippets

Post by Thorson »

I have the issue with WB-17, I cannot delete html code via Page - HTML. I can mark the code but there is not "Delete" button.
I'm thankful for any advice :)
User avatar
crispy68
 
 
Posts: 3090
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: inserting and deleting code snippets

Post by crispy68 »

I assume this is code you added? Did you click on each of the tabs below the window in the Page HTML to make sure no code is present? You may also want to check the Page --> Site HTML tabs. Are there any code objects on the page?
User avatar
Pablo
 
Posts: 23598
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: inserting and deleting code snippets

Post by Pablo »

Note that you can only delete code that you have added yourself.
WYSIWYG Web Builder is not an HTML editor, so you cannot edit visually generated code.
If you want to remove the code of an object then you will need to remove it visually.
Post Reply