GunniH Posted May 24, 2009 Share Posted May 24, 2009 Hey there, So the thing is I've been selling websites to people, they can go via an admin panel and change the sites using TinyMCE. When I go to check the sites validation, it's really fucked up, over 100 errors + the code looks fugly when you "view the source" in your browser. So my question is do other WYSIWYG editors f*ck things up like this or is it just TinyMCE. Would love some comments from people with FckEditor experience etc. etc. =) ~Gunni Quote Link to comment https://forums.phpfreaks.com/topic/159503-tinymce-erroring-w3-validation/ Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted May 24, 2009 Share Posted May 24, 2009 There maybe a few WYSIWYG editor that produce valid code, but i doubt. If you really care about validation, writing code by hand is the way to go. Quote Link to comment https://forums.phpfreaks.com/topic/159503-tinymce-erroring-w3-validation/#findComment-841421 Share on other sites More sharing options...
GunniH Posted May 25, 2009 Author Share Posted May 25, 2009 There maybe a few WYSIWYG editor that produce valid code, but i doubt. If you really care about validation, writing code by hand is the way to go. I write all my codes by hand, I don't think you understood what I meant. I said the people who own the site change the content of the site themselves (CMS). Let's take an example, there is a page called About us and it says something about being the biggest on the market. A new company comes in and outnumber them so they have to change the site, they can't say they are the biggest any more so instead of calling me and hard-coding the content they login via the admin panel and change the content using TinyMCE =) They can put in images, text, change font size (from normal to higher/lower or to h1,h2,h3) and all sorts of shit. But the way TinyMCE puts it out is fucked. ~Gunni Quote Link to comment https://forums.phpfreaks.com/topic/159503-tinymce-erroring-w3-validation/#findComment-841460 Share on other sites More sharing options...
ionik Posted May 25, 2009 Share Posted May 25, 2009 Theres not much you can do about TinyMCE producing invalid HTML on its side.... my suggesting is running Html_Tidy on all content your clients input to ensure its validated, and FckEditor is the same. There is only a handful on WYSIWYG editors that produce valid HTML one I know of is called WymEditor its in Beta and it seems the development has since become frozen Quote Link to comment https://forums.phpfreaks.com/topic/159503-tinymce-erroring-w3-validation/#findComment-841497 Share on other sites More sharing options...
waynew Posted May 25, 2009 Share Posted May 25, 2009 Unfortunately, when users are given the power to generate HTML, the responsibility of clean code rests with them. Quote Link to comment https://forums.phpfreaks.com/topic/159503-tinymce-erroring-w3-validation/#findComment-841606 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.