Page 1 of 1

[SOLVED] TinyMCE adding code to my pages

Posted: Fri Jan 08, 2010 1:28 am
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.

Re: [SOLVED] TinyMCE adding code to my pages

Posted: Fri Jan 08, 2010 8:05 am
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