tinymceinit.js

A sample TinyMCE clientside html editor initialisation javascript
tinyMCE.init
({
    theme                   : "advanced" ,
    mode                    : "specific_textareas" ,
    editor_selector             : "mceEditor" ,
    plugins                 : "advimage, fullscreen, paste, searchreplace, table" ,
   
    theme_advanced_toolbar_location     : "top" ,
    theme_advanced_toolbar_align           : "left" ,
    theme_advanced_statusbar_location   : "bottom" ,
    theme_advanced_resizing                  : true ,
   
    theme_advanced_disable              : "sub, sup" ,
    theme_advanced_buttons1_add_before  : "selectall, cut, copy, paste, separator" ,
    theme_advanced_buttons2_add_before  : "search, replace, separator" ,
    theme_advanced_buttons3_add             : "tablecontrols" ,

    cleanup_on_startup                   : true ,
    fix_list_elements                   : true ,
    valid_elements                      : "a[href|target=_blank],div,br,p"
});
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki