WordPress.org

Ready to get started?Download WordPress

Forums

Visual Editor Custom Buttons
Add buttons to a different row on visual editor? (5 posts)

  1. NoProbRob911
    Member
    Posted 1 year ago #

    Can you provide an option on the Add New Button page to place the newly-created visual editor button on row 2 or row 3 instead of on the first row? This could be as simple as a radio selection:

    Row: o 1 o 2 o 3

    Your screenshots all show a single-column new-post page. But on a multi-column new-post page, any buttons added to the default (1st) row extend beyond the mce editor window and are therefore not accessible. (Well, the 1st one might show up, but a 2nd or 3rd will disappear.)

    All you would need to do is replace 'mce_buttons' with 'mce_buttons_2' or 'mce_buttons_3' for the 2nd or 3rd rows, respectively. If you used the radio selection idea, just a switch statement based on that radio choice.

    For my purpose, I could edit your plugin to force the new buttons to a different row.

    But for the non-coders out there, I think providing an option on the Add New Button page would be a wonderful addition to an already great plugin.

    Thanks!

    http://wordpress.org/extend/plugins/visual-editor-custom-buttons/

  2. cyberduck
    Member
    Plugin Author

    Posted 1 year ago #

    A very good idea. Thanks. That will be included in the next update.

  3. NoProbRob911
    Member
    Posted 1 year ago #

    Great! Thanks for the quick reply. I'll look forward to that update.

  4. tlcbytara
    Member
    Posted 1 year ago #

    I would also love this feature. Can you please let me know when it is available? My last button is not accessible as it doesn't fit on the row.
    Thanks!

  5. tlcbytara
    Member
    Posted 1 year ago #

    In the meantime, NoProbRob911 or cyberduck, can you tell me what to edit in the plugin to make a second row?
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.