WordPress.org

Ready to get started?Download WordPress

Forums

Cant edit TinyCME format dropdown with plugin, can with hacked core! (1 post)

  1. ninjaboy
    Member
    Posted 7 years ago #

    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:

    ['h1', '{$lang_theme_h1}'],
    ['h2', '{$lang_theme_h2}'],

    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!!

Topic Closed

This topic has been closed to new replies.

About this Topic