Changeset 19173
- Timestamp:
- 11/05/2011 04:26:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/quicktags.dev.js
r19172 r19173 7 7 * Run quicktags(settings) to initialize it, where settings is an object containing up to 3 properties: 8 8 * 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'; 13 12 * } 14 13 * 15 14 * The settings can also be a string quicktags_id. 16 15 * 17 * quicktags_id The ID of the textarea that will be the editor canvas18 * 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. 19 18 */ 20 19
Note: See TracChangeset
for help on using the changeset viewer.