Changes between Version 29 and Version 30 of Documentation/OldNewbieGuide


Ignore:
Timestamp:
07/17/09 10:09:19 (10 years ago)
Author:
ray
Comment:

Added toolbar config to Newbie Guide, I think is of interest to many newbies

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/OldNewbieGuide

    v29 v30  
    109109   xinha_config = xinha_config ? xinha_config() : new Xinha.Config(); 
    110110    
     111  //this is the standard toolbar, feel free to remove buttons as you like 
     112  xinha_config.toolbar = 
     113  [ 
     114    ["popupeditor"], 
     115    ["separator","formatblock","fontname","fontsize","bold","italic","underline","strikethrough"], 
     116    ["separator","forecolor","hilitecolor","textindicator"], 
     117    ["separator","subscript","superscript"], 
     118    ["linebreak","separator","justifyleft","justifycenter","justifyright","justifyfull"], 
     119    ["separator","insertorderedlist","insertunorderedlist","outdent","indent"], 
     120    ["separator","inserthorizontalrule","createlink","insertimage","inserttable"], 
     121    ["linebreak","separator","undo","redo","selectall","print"], (Xinha.is_gecko ? [] : ["cut","copy","paste","overwrite","saveas"]), 
     122    ["separator","killword","clearfonts","removeformat","toggleborders","splitblock","lefttoright", "righttoleft"], 
     123    ["separator","htmlmode","showhelp","about"] 
     124  ]; 
     125 
    111126         
    112127   // To adjust the styling inside the editor, we can load an external stylesheet like this