|
Pages: [1]
|
 |
|
Author
|
Topic: Loss of code in wysiwyg editor (Read 511 times)
|
|
paulssnz
Posts: 3
|
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
|
|
|
|
|
admin
Forum Administrator

Posts: 3032
SnippetMaster Author
|
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?
|
|
|
|
|
|
|
Pages: [1]
|
|
|
 |