[SOLVED] TinyMCE adding code to my pages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
handcoded
Forum Members
Forum Members
Posts: 123
Joined: Thu Dec 06, 2007 2:26 pm

[SOLVED] TinyMCE adding code to my pages

Post by handcoded »

Hi

I'm unsure as to why this is happening but if I edit a page in source code view and save it TinyMCE is adding a doctype, title, html and body tags like the example below.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
<title>Untitled document</title>
</head>
</__body>
<p>Test area, no content will be harmed playing with this...</p>
<__body>
</__html>
Any ideas as to why this is happening? I'm trying to get the site to validate as xhtml strict but with this happening it is impossible. The web site is www.princehall.co.uk

------------------------------------------------------
Reset TinyMCE back to defaults and it is behaving as it should. Not sure what my client has been messing around with.
Last edited by handcoded on Fri Jan 08, 2010 1:32 am, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: [SOLVED] TinyMCE adding code to my pages

Post by RonnyK »

I think I know what the tick was ;)

In TinyMCE on the Plugins-tab, there is a tick called 'fullpage'. When ticked it inserts all in. Like head/body.

Ronny
Post Reply

Return to “CMSMS Core”