Hello,
i have a problem i could not find any solution on the forum.
steps to reproduce:
1. create new page
2. deactivate WYSIWYG in TinyMCE
3. add some HTML with formatting (containing enter strokes)
4. save page, open another page and go back to the first page
5. deactivate WYSIWYG again
-> all the formatting in the HTML is lost, it's a mess
i guess i have en encoding problem. but i don't know how to solve it. on big pages containing php code this is very annoying.
Thanks a lot for your help!
Jorge
-----------
My System:
CMSMS: 1.8.1
CMSMS default_encoding: utf-8
CMSMS admin_encoding: utf-8
MySQL: 5.1.49-community
DB Collation: utf8_bin
PHP: 5.2.12
html code formatting lost
Re: html code formatting lost
Hello jorge
Welcome at the CMSMS forum.
What you describe is the way a WYSIWYG editor works...
It is made for an non-admin to put in text, images and stuff and not for html code.
If you want to keep the html present you have to switch the WYSIWYG off in the Options tab.
Or you could use a Global Content Block. And call this one in the page.
Hope this helps,
Rolf
Welcome at the CMSMS forum.
What you describe is the way a WYSIWYG editor works...
It is made for an non-admin to put in text, images and stuff and not for html code.
If you want to keep the html present you have to switch the WYSIWYG off in the Options tab.
Or you could use a Global Content Block. And call this one in the page.
Hope this helps,
Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: html code formatting lost
you can also disable TinyMCE on that page by using the setting under Options while editing the page. Then TinyMCE will not load again for that page.
"Disable WYSIWYG editor on this page (regardless of template or user settings):"
"Disable WYSIWYG editor on this page (regardless of template or user settings):"
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
- Charles Butcher
- Forum Members
- Posts: 103
- Joined: Sat Jul 05, 2008 8:25 pm
Re: html code formatting lost
I think that might be a misunderstanding of Jorge's question. As I understand it, he's putting the HTML into the non-WYSIWYG window you get when you uncheck the WYSIWYG option beneath the standard TinyMCE window.Rolf wrote: What you describe is the way a WYSIWYG editor works...
It is made for an non-admin to put in text, images and stuff and not for html code.
@Jorge: I tried what you describe, but the HTML formatting was preserved. Sorry I can't help further.
Re: html code formatting lost
You can turn tiny off using the tick under it, only problem I found was it turns itself back on at the last second when you submit the page, I use the setting in tiny admin to have tiny not auto start when page opens which will let you turn it back on using the tick under it if needed this will preserve any HTML formatting etc., altho I don't recommend putting a lot of HTML in tiny...