WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Custom TinyMCE button (3 posts)

  1. coopersita
    Member
    Posted 3 years ago #

    Hi,

    I'm trying to add a button to the Rich Text Interface. I used the codex code, but it's not working:

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. coopersita
    Member
    Posted 3 years ago #

    Sorry.

    Here's the code I used: http://wordpress.pastebin.com/GCr1tMgZ

    I do get the text button in the html editor, but in the rich text editor I get nothing.

    Here's the tinymce plugin code:

    http://wordpress.pastebin.com/KYUGjguV

  3. coopersita
    Member
    Posted 3 years ago #

    Just in case anyone is having similar problems, I found this article that has a simple plugin you can change to do what you want.

    I just modified it slightly, and it did everything I needed.

    http://deannaschneider.wordpress.com/2008/10/05/tinymce-custom-buttons-shortcode-example/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags