[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
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 17 Table controls: 18 tablecontrols All table control below and some separators between them. 19 table Insert table control. 20 row_props Edit row properties (tr). 21 cell_props Edit cell properties (td). 22 delete_col Delete column control. 23 delete_row Delete row control. 24 col_after Column after control. 25 col_before Column before control. 26 row_after Row after control. 27 row_before Row before control. 28 row_after Row after control. 29 row_before Row before control. 30 31 Table plugin commands: 32 mceInsertTable Inserts a new table at cursor location the default size is 2x2. 33 If the value parameter is specified it should contain a name/value array, 34 this array has the following options cols, rows, border, cellspacing, cellpadding. 35 The default border is set to: 0. 36 mceTableInsertRowBefore Inserts a row before/above the current cursor location. 37 mceTableInsertRowAfter Inserts a row after/under the current cursor location. 38 mceTableDeleteRow Deletes the row at the current cursor location. 39 mceTableInsertColBefore Inserts a column before the current cursor location. 40 mceTableInsertColAfter Inserts a column after the current cursor location. 41 mceTableDeleteCol Deletes the column at the current cursor location. 42 43 Options: 44 table_color_fields If set to true, tables dialogs will have color fields.
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |