I am trying to adjust the format dropdown in TinyMCE – I am tired of hacking the core code and am trying to do this with a plugin.
I have spent alot of time looking around at plugins and forums to try and code this myself, but I am stuck (and am still learning PHP etc)! The parameters for this are ‘theme_advanced_blockformats’, ideally I’d like to alter the parameters in wp-includes/js/tinymce/themes/advanced/editor_template.js where it says:
to something like:
[‘h1’, ‘Big Heading’],
[‘h2’, ‘Small Heading’],
… thats what I’d like to do in theory, but I just can’t work it out!!
- The topic ‘Cant edit TinyCME format dropdown with plugin, can with hacked core!’ is closed to new replies.