Tired of TinyMCE Screwing Up Your Code?
June 17, 2008 – 11:20 amSo was I. Luckily there is a handy configuration option that tells TinyMCE to leave your code alone:
verify_html : false
The resulting code should look something like this:
tinyMCE.init({
theme: "advanced",
mode: "exact",
elements: "html",
theme_advanced_toolbar_location: "top",
verify_html: false
});
Happy coding!
No related posts.
RSS Feed