annotate static/js/tiny_mce_init_std.js @ 336:6322b80c1797

Tweak tinyMCE config so it doesn't change URLs into relative URLs.
author Brian Neal <bgneal@gmail.com>
date Sat, 26 Feb 2011 06:09:22 +0000
parents 88b2b9cb8c1f
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 });