annotate static/js/tiny_mce_init.js @ 90:447d75d1e21d

For Django 1.5: localflavor is deprecated in preference to a 3rd party app.
author Brian Neal <bgneal@gmail.com>
date Tue, 27 Aug 2013 20:03:32 -0500
parents 966cde8635c0
children
rev   line source
bgneal@45 1 tinyMCE.init({
bgneal@45 2 mode : "specific_textareas",
bgneal@45 3 editor_deselector: "mceNoEditor",
bgneal@45 4 theme : "advanced",
bgneal@45 5 convert_urls: false,
bgneal@45 6 theme_advanced_toolbar_location : "top",
bgneal@45 7 theme_advanced_toolbar_align : "left",
bgneal@45 8 theme_advanced_buttons1 : "fullscreen,|,preview,|,bold,italic,underline,strikethrough,|,bullist,numlist,outdent,indent,|,undo,redo,|,link,unlink,anchor,|,image,cleanup,help,|,code",
bgneal@45 9 theme_advanced_buttons2 : "pastetext,pasteword,selectall",
bgneal@45 10 theme_advanced_buttons3 : "",
bgneal@45 11 auto_cleanup_word : true,
bgneal@45 12 plugins : "table,advhr,emotions,insertdatetime,preview,searchreplace,print,contextmenu,fullscreen,media,paste",
bgneal@45 13 paste_auto_cleanup_on_paste: true,
bgneal@45 14 plugin_insertdate_dateFormat : "%m/%d/%Y",
bgneal@45 15 plugin_insertdate_timeFormat : "%H:%M:%S",
bgneal@45 16 fullscreen_settings : {
bgneal@45 17 theme_advanced_path_location : "top",
bgneal@45 18 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@45 19 theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,|,bullist,numlist,outdent,indent,|,link,unlink,anchor",
bgneal@45 20 theme_advanced_buttons3 : "sub,sup,|,image,insertdate,inserttime,|,tablecontrols,|,hr,advhr,visualaid,|,charmap,emotions,|,print",
bgneal@45 21 theme_advanced_buttons4 : "pastetext,pasteword,selectall"
bgneal@45 22 }
bgneal@45 23 });