Changeset 53265

Show
Ignore:
Timestamp:
12/10/08 04:32:05 (1 year ago)
Author:
madarche
Message:

Added a more complete set of toolbar buttons.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • CPS3/products/CPSSchemas/trunk/skins/cps_schemas/popup_tinymce_form.pt

    r53263 r53265  
    3939                tal:attributes="src string:${base_url}tiny_mce.js"> 
    4040  </script> 
    41   <textarea id="rte_value" name="rte_value" rows="15" cols="80" style="width: 90%"> 
     41  <textarea id="rte_value" name="rte_value" rows="15" cols="80" style="width: 100%"> 
    4242</textarea> 
    4343  <script type="text/javascript" 
     
    4747    mode : 'textareas', 
    4848    theme : 'advanced', 
    49     theme_advanced_buttons1 : 'bold,italic,underline,strikethrough,bullist,numlist,separator,link,unlink,image,separator,undo,redo,code', 
    50     theme_advanced_buttons2 : '', 
    51     theme_advanced_buttons3 : '' 
     49    plugins : 'table,emotions', 
     50    theme_advanced_buttons1 : 'bold,italic,underline,strikethrough,bullist,numlist,formatselect,removeformat,separator,link,unlink,anchor,image,emotions,separator,undo,redo,code', 
     51    theme_advanced_buttons2 : 'tablecontrols', 
     52    theme_advanced_buttons3 : '', 
    5253}); 
    5354document.getElementById('rte_value').value = opener.document.getElementById('${input_id}').value;