WordPress.org

Ready to get started?Download WordPress

Forums

tinymce ad next page button (1 post)

  1. love2xlr8
    Member
    Posted 7 years ago #

    I'm trying to get an nextpage button in basic post edit mode... nothing works....

    this is what I've done so far:
    uncommented the next page tag in wp-includes\js\quicktags.js

    I know I have to ad a url to the buttons var in
    wp-includes\js\tinymce\plugins\wordpress\editor_plugin.js
    but don't know how... it says:

    var buttons = '<img id="{$editor_id}_wordpress_more" src="{$pluginurl}/images/more.gif" title="'+titleMore+'" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" />';
    // Add this to the buttons var to put the Page button into the toolbar.
    // '<img id="{$editor_id}_wordpress_page" src="{$pluginurl}/images/page.gif" title="'+titlePage+'" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" />';
    return buttons;

    I tried about all that makes sense to me... ple will somone post the extact code the buttons var needs to be?

    thank you,
    ivo

Topic Closed

This topic has been closed to new replies.

About this Topic