• Resolved herstrion

    (@herstrion)


    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?

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
    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.

    Thread Starter herstrion

    (@herstrion)

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

    Can you mark this post “Resolved,” then? Thanks.

    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. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add button to WYSIWYG editor’ is closed to new replies.