From dfd3cef734be3bc1bf2d16dfe8b2f71d6aff18a7 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Thu, 12 Aug 2010 01:47:08 -0700 Subject: added code, quote styles to editor --- view/jot-header.tpl | 5 ++--- view/style.css | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'view') diff --git a/view/jot-header.tpl b/view/jot-header.tpl index e2b196dc3..22e425463 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -7,13 +7,12 @@ tinyMCE.init({ mode : "specific_textareas", editor_selector: /(profile-jot-text|prvmail-text)/, plugins : "bbcode", - theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor", + theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "center", - theme_advanced_styles : "Code=codeStyle;Quote=quoteStyle", - content_css : "bbcode.css", + theme_advanced_blockformats : "blockquote,code", entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, diff --git a/view/style.css b/view/style.css index 70f6f45f9..b58c8e101 100644 --- a/view/style.css +++ b/view/style.css @@ -16,6 +16,21 @@ img { width: 600px; } +code { + font-family: monospace; + white-space: pre; + display: block; + overflow: auto; + border: 1; + background: #000000; + color: #44FF44; + padding: 10px; +} + +blockquote:before { + content: '>> '; +} + body { background: #FEFEFE; color: #444444; -- cgit v1.2.3