5552 Posts in 1742 Topics by 1226 members
|Go to End|
30 May 2010 at 8:27am Last edited: 31 May 2010 2:07pm
I'm trying to find out if it possible to remove elements from TinyMCE. To be exact, I am using <h1> as main heading to the website and <h2> for article headings and don't want them to be reused within articles. Is it possible to remove elements from the drop down in TinyMCE?
I have been searching the web all over and only came across some option 'invalid_elements', but I have no idea where that would be located within the TinyMCE source or if that would actually be the option to set.
Thanks for your help.
30 May 2010 at 9:54pm
would also like to know a upgrade save way to do so. /sapphire/thirdparty/tinymce/themes/advanced/editor_template_src.js
theme_advanced_blockformats : "p,address,pre,h2,h3,h4,h5,h6",
30 May 2010 at 11:18pm
Thank you lerni, that does the trick!
And you are right, an upgrade save way to do this would be great!
31 May 2010 at 3:26am Last edited: 31 May 2010 3:30am
31 May 2010 at 4:49am
I assume that line goes into..
I will try that later tonight!
|Go to Top|