[ Index ] |
|
Code source de PHP NUKE 7.9 |
1 Table plugin for TinyMCE 2 ------------------------------ 3 4 Installation instructions: 5 * Copy the table directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins). 6 * Add plugin to TinyMCE plugin option list example: plugins : "table". 7 * Add the table button name to button list, example: theme_advanced_buttons3_add_before : "tablecontrols". 8 9 Initialization example: 10 tinyMCE.init({ 11 theme : "advanced", 12 mode : "textareas", 13 plugins : "table", 14 theme_advanced_buttons3_add_before : "tablecontrols" 15 }); 16 html += tinyMCE.getControlHTML("row_props"); 17 html += tinyMCE.getControlHTML("cell_props"); 18 19 Table controls: 20 tablecontrols All table control below and some separators between them. 21 table Insert table control. 22 row_props Edit row properties (tr). 23 cell_props Edit cell properties (td). 24 delete_col Delete column control. 25 delete_row Delete row control. 26 col_after Column after control. 27 col_before Column before control. 28 row_after Row after control. 29 row_before Row before control. 30 row_after Row after control. 31 row_before Row before control. 32 33 Table plugin commands: 34 mceInsertTable Inserts a new table at cursor location the default size is 2x2. 35 If the value parameter is specified it should contain a name/value array, 36 this array has the following options cols, rows, border, cellspacing, cellpadding. 37 The default border is set to: 0. 38 mceTableInsertRowBefore Inserts a row before/above the current cursor location. 39 mceTableInsertRowAfter Inserts a row after/under the current cursor location. 40 mceTableDeleteRow Deletes the row at the current cursor location. 41 mceTableInsertColBefore Inserts a column before the current cursor location. 42 mceTableInsertColAfter Inserts a column after the current cursor location. 43 mceTableDeleteCol Deletes the column at the current cursor location.
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 11:11:59 2007 | par Balluche grâce à PHPXref 0.7 |