Advertisement
Guest User

Bra1ntanK - TinyMCE + Drupal Setup

a guest
Jul 13th, 2010
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.01 KB | None | 0 0
  1. 'advimage' => array( 'path' => $editor['path'] . '/plugins/advimage',
  2. 'extensions' => array('advimage' => t('Advanced image')), // hack for imgmap added usemap to this list
  3. 'extended_valid_elements' => array('img[usemap|src|alt|title|align|width|height|hspace|vspace|border|style|class|onmouseover|onmouseout|id|name]'),
  4. 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage',
  5. 'internal' => TRUE,
  6. 'load' => TRUE, ), // hack for imgmap // added after table plugin array description for img support // pep, http://code.google.com/p/imgmap/wiki/TinyMCE_setup
  7. 'imgmap' => array( 'path' => $editor['path'] .'/plugins/imgmap',
  8. 'buttons' => array('imgmap' => t('Image Map')),
  9. 'extended_valid_elements' => array('img[usemap|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],map[id|name],area[onmouseover|onmouseout|title|shape|alt|coords|href|target]'),
  10. 'url' => 'http://code.google.com/p/imgmap/',
  11. 'internal' => TRUE,
  12. 'load' => TRUE,
  13. ), // end mod for imgmap
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement