diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-08-23 08:14:50 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-08-23 08:14:50 -0400 |
commit | a2d1de600828ca6017b65ce36498e824cadca87f (patch) | |
tree | 87f3fbf1110a1c1fe76ca8702da9841f5abdcdb2 /askbot/setup_templates | |
parent | d5f15c9360e5ee94ab49df2a52331f7d2c2a3a56 (diff) | |
download | askbot-a2d1de600828ca6017b65ce36498e824cadca87f.tar.gz askbot-a2d1de600828ca6017b65ce36498e824cadca87f.tar.bz2 askbot-a2d1de600828ca6017b65ce36498e824cadca87f.zip |
applied the blockquote bug in Chrome as suggested by dajafa
Diffstat (limited to 'askbot/setup_templates')
-rw-r--r-- | askbot/setup_templates/tinymce_sample_config.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/askbot/setup_templates/tinymce_sample_config.py b/askbot/setup_templates/tinymce_sample_config.py new file mode 100644 index 00000000..c75170b0 --- /dev/null +++ b/askbot/setup_templates/tinymce_sample_config.py @@ -0,0 +1,26 @@ +TINYMCE_COMPRESSOR = True +TINYMCE_SPELLCHECKER = False +TINYMCE_JS_ROOT = os.path.join(STATIC_ROOT, 'common/media/js/tinymce/') +TINYMCE_URL = STATIC_URL + 'common/media/js/tinymce/' +TINYMCE_DEFAULT_CONFIG = { + 'plugins': 'askbot_imageuploader,askbot_attachment', + 'theme': 'advanced', + 'content_css': STATIC_URL + 'default/media/style/tinymce/content.css', + 'force_br_newlines': True, + 'force_p_newlines': False, + 'forced_root_block': '', + 'mode' : 'textareas', + 'oninit': "function(){ tinyMCE.activeEditor.setContent(askbot['data']['editorContent'] || ''); }", + 'plugins': 'askbot_imageuploader,askbot_attachment', + 'theme_advanced_toolbar_location' : 'top', + 'theme_advanced_toolbar_align': 'left', + 'theme_advanced_buttons1': 'bold,italic,underline,|,bullist,numlist,|,undo,redo,|,link,unlink,askbot_imageuploader,askbot_attachment', + 'theme_advanced_buttons2': '', + 'theme_advanced_buttons3' : '', + 'theme_advanced_path': False, + 'theme_advanced_resizing': True, + 'theme_advanced_resize_horizontal': False, + 'theme_advanced_statusbar_location': 'bottom', + 'width': '723', + 'height': '250' +} |