[resolved] Add button to WYSIWYG editor (5 posts)

  1. herstrion
    Posted 9 years ago #

    Hello there,

    I wish to be able to add some extra functions to the WYSIWYG editor.

    For example is it possible to add a button so that the selected text can be coloured blue?


  2. Ethilien
    Posted 9 years ago #

    1. Got to wp-includes/js/tinymce/tiny_mce_gzip.php
    2. Go to line number 127, or perform a search for
      $mce_buttons = apply_filters('mce_buttons'
    3. Edit the end of this line and change 'wphelp')); to 'wphelp', 'forecolor'));

    Just upload the file again and you should have a color select box.

  3. herstrion
    Posted 9 years ago #

    Thanks Ethilien, this is _exactly_ what I needed. You're a star!

  4. tsguitar
    Posted 9 years ago #

    Can you mark this post "Resolved," then? Thanks.

  5. RichS
    Posted 9 years ago #

    It didn't work for me as it appears your trying to edit the wrong file. Maybe things have changed in later versions?

    Here is a post that was easy to follow and helped me fix this. :)

Topic Closed

This topic has been closed to new replies.

About this Topic