SnippetMaster Support Forums
Return to main website
 
February 04, 2012, 12:22:02 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 04, 2012, 12:22:02 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Loss of code in wysiwyg editor « previous next »
Pages: [1] Print
Author Topic: Loss of code in wysiwyg editor  (Read 511 times)
paulssnz

Posts: 3


[-] Loss of code in wysiwyg editor
« on: August 02, 2010, 01:39:05 PM »

When editing a page with 2 snippets, one of which is part of the html head tag & the other a section of the body.  If the body is edited in wysiwyg mode and the page saved, the code in the head tag is deleted.  If the head snippet is set to wysiwyg=no this does not occur. PRO v2.2.3.3
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3032

SnippetMaster Author


WWW
[-] Re: Loss of code in wysiwyg editor
« Reply #1 on: August 11, 2010, 08:38:26 AM »

This is by design, I think.  (If I understand the problem...)

The editor is designed to produce xhtml compliant code, so unless you specify the "wysigyw=no" attribute for the Snippet Tag... the editor will remove or try to fix any code that is not xhtml compliant.

So in this case, the head code you're editing is likely not "compliant" and so it gets "fixed" (removed).  When you specify wysiwyg=no, then this tells the editor not to try and fix that code snippet.

I hope that makes sense?
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Loss of code in wysiwyg editor « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!