annotate static/js/tiny_mce_init_std.js @ 390:e0523e17ea43

Fixing #175; add an auto-subscribe and auto-favorite forum topic feature. Added 2 flags to the user profile. Added 2 functions that are called on the post post-save signal that auto-favorite and auto-subscribe the post creator if they have requested this service.
author Brian Neal <bgneal@gmail.com>
date Mon, 21 Mar 2011 00:39:52 +0000
parents 6322b80c1797
children 6c182ceb7147
rev   line source
bgneal@312 1 tinyMCE.init({
bgneal@312 2 mode : "textareas",
bgneal@312 3 theme : "advanced",
bgneal@336 4 convert_urls: false,
bgneal@312 5 theme_advanced_toolbar_location : "top",
bgneal@312 6 theme_advanced_toolbar_align : "left",
bgneal@312 7 theme_advanced_buttons1 : "fullscreen,|,preview,|,bold,italic,underline,strikethrough,|,bullist,numlist,outdent,indent,|,undo,redo,|,link,unlink,anchor,|,image,cleanup,help,|,code",
bgneal@312 8 theme_advanced_buttons2 : "",
bgneal@312 9 theme_advanced_buttons3 : "",
bgneal@312 10 auto_cleanup_word : true,
bgneal@312 11 plugins : "table,advhr,emotions,insertdatetime,preview,searchreplace,print,contextmenu,fullscreen,media",
bgneal@312 12 plugin_insertdate_dateFormat : "%m/%d/%Y",
bgneal@312 13 plugin_insertdate_timeFormat : "%H:%M:%S",
bgneal@312 14 fullscreen_settings : {
bgneal@312 15 theme_advanced_path_location : "top",
bgneal@312 16 theme_advanced_buttons1 : "fullscreen,|,preview,|,cut,copy,paste,|,undo,redo,|,search,replace,|,code,|,cleanup,|,bold,italic,underline,strikethrough,|,forecolor,backcolor,|,justifyleft,justifycenter,justifyright,justifyfull,|,help",
bgneal@312 17 theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,|,bullist,numlist,outdent,indent,|,link,unlink,anchor",
bgneal@312 18 theme_advanced_buttons3 : "sub,sup,|,image,insertdate,inserttime,|,tablecontrols,|,hr,advhr,visualaid,|,charmap,emotions,|,print"
bgneal@312 19 }
bgneal@312 20 });