annotate media/js/tiny_mce_init_std.js @ 6:b6263ac72052

Use DRY principle to manage third party javascript libraries. Created script_tags template tags to generate the correct link and script tags for 3rd party libraries. The settings.py file is the only place where the full path name is specified.
author Brian Neal <bgneal@gmail.com>
date Sat, 11 Apr 2009 22:50:56 +0000
parents dbd703f7d63a
children ca66189c7c44
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",
gremmie@1 7 theme_advanced_buttons1 : "fullscreen,|,preview,|,bold,italic,underline,strikethrough,|,bullist,numlist,outdent,indent,|,undo,redo,|,link,unlink,anchor,|,image,media,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 });