Mercurial > public > madeira
comparison static/js/tiny_mce_init.js @ 45:966cde8635c0
For issue #3, created a separate news app.
Created import management command.
Using TinyMCE editor in the admin.
News model now stores HTML.
The news page is now paginated.
Each story has a perma-link now.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 15 Mar 2012 20:02:39 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
44:42a6bde9913c | 45:966cde8635c0 |
---|---|
1 tinyMCE.init({ | |
2 mode : "specific_textareas", | |
3 editor_deselector: "mceNoEditor", | |
4 theme : "advanced", | |
5 convert_urls: false, | |
6 theme_advanced_toolbar_location : "top", | |
7 theme_advanced_toolbar_align : "left", | |
8 theme_advanced_buttons1 : "fullscreen,|,preview,|,bold,italic,underline,strikethrough,|,bullist,numlist,outdent,indent,|,undo,redo,|,link,unlink,anchor,|,image,cleanup,help,|,code", | |
9 theme_advanced_buttons2 : "pastetext,pasteword,selectall", | |
10 theme_advanced_buttons3 : "", | |
11 auto_cleanup_word : true, | |
12 plugins : "table,advhr,emotions,insertdatetime,preview,searchreplace,print,contextmenu,fullscreen,media,paste", | |
13 paste_auto_cleanup_on_paste: true, | |
14 plugin_insertdate_dateFormat : "%m/%d/%Y", | |
15 plugin_insertdate_timeFormat : "%H:%M:%S", | |
16 fullscreen_settings : { | |
17 theme_advanced_path_location : "top", | |
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", | |
19 theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,|,bullist,numlist,outdent,indent,|,link,unlink,anchor", | |
20 theme_advanced_buttons3 : "sub,sup,|,image,insertdate,inserttime,|,tablecontrols,|,hr,advhr,visualaid,|,charmap,emotions,|,print", | |
21 theme_advanced_buttons4 : "pastetext,pasteword,selectall" | |
22 } | |
23 }); |