annotate media/js/tiny_mce_init_std.js @ 150:b43e1288ff80

Fix #33; use $.ajax instead of $.post so we can handle errors. Also, for some reason comparing objects in a template doesn't work now. Have to compare id fields.
author Brian Neal <bgneal@gmail.com>
date Thu, 17 Dec 2009 04:14:16 +0000
parents ca66189c7c44
children
rev   line source
gremmie@1 1 tinyMCE.init({
gremmie@1 2 mode : "textareas",
gremmie@1 3 theme : "advanced",
gremmie@1 4 content_css : "css/example.css",
gremmie@1 5 theme_advanced_toolbar_location : "top",
gremmie@1 6 theme_advanced_toolbar_align : "left",
bgneal@7 7 theme_advanced_buttons1 : "fullscreen,|,preview,|,bold,italic,underline,strikethrough,|,bullist,numlist,outdent,indent,|,undo,redo,|,link,unlink,anchor,|,image,cleanup,help,|,code",
gremmie@1 8 theme_advanced_buttons2 : "",
gremmie@1 9 theme_advanced_buttons3 : "",
gremmie@1 10 auto_cleanup_word : true,
gremmie@1 11 plugins : "table,advhr,emotions,insertdatetime,preview,searchreplace,print,contextmenu,fullscreen,media",
gremmie@1 12 plugin_insertdate_dateFormat : "%m/%d/%Y",
gremmie@1 13 plugin_insertdate_timeFormat : "%H:%M:%S",
gremmie@1 14 fullscreen_settings : {
gremmie@1 15 theme_advanced_path_location : "top",
gremmie@1 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",
gremmie@1 17 theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,|,bullist,numlist,outdent,indent,|,link,unlink,anchor",
gremmie@1 18 theme_advanced_buttons3 : "sub,sup,|,image,insertdate,inserttime,|,tablecontrols,|,hr,advhr,visualaid,|,charmap,emotions,|,print"
gremmie@1 19 }
gremmie@1 20 });