Make WordPress Core

Changeset 19173


Ignore:
Timestamp:
11/05/2011 04:26:00 PM (13 years ago)
Author:
azaozz
Message:

Phpdoc fix for quicktags.js, see #19098

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/quicktags.dev.js

    r19172 r19173  
    77 * Run quicktags(settings) to initialize it, where settings is an object containing up to 3 properties:
    88 * settings = {
    9  *   id : 'my_id',          // the HTML ID of the textarea, required
    10  *   buttons: ''            // Comma separated list of the names of the default buttons to show. Optional.
    11  *                          // This overwrites buttons order and any buttons added by plugins.
    12  *                          // Current list of default button names: 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,spell,close'
     9 *   id : 'my_id',          the HTML ID of the textarea, required
     10 *   buttons: ''            Comma separated list of the names of the default buttons to show. Optional.
     11 *                          Current list of default button names: 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,spell,close';
    1312 * }
    1413 *
    1514 * The settings can also be a string quicktags_id.
    1615 *
    17  * quicktags_id The ID of the textarea that will be the editor canvas
    18  * buttons Comma separated list of the buttons IDs that will be shown. Buttons added from JavaScript by plugins will not show.
     16 * quicktags_id string The ID of the textarea that will be the editor canvas
     17 * buttons string Comma separated list of the default buttons names that will be shown in that instance.
    1918 */
    2019
Note: See TracChangeset for help on using the changeset viewer.