aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-12 01:47:08 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-12 01:47:08 -0700
commitdfd3cef734be3bc1bf2d16dfe8b2f71d6aff18a7 (patch)
tree9e7384883d118ecbf2d94730fb78f5d9d4c00d85 /view
parent8d0ba934364fbb65e66edf1b2cda24ebd8afb96b (diff)
downloadvolse-hubzilla-dfd3cef734be3bc1bf2d16dfe8b2f71d6aff18a7.tar.gz
volse-hubzilla-dfd3cef734be3bc1bf2d16dfe8b2f71d6aff18a7.tar.bz2
volse-hubzilla-dfd3cef734be3bc1bf2d16dfe8b2f71d6aff18a7.zip
added code, quote styles to editor
Diffstat (limited to 'view')
-rw-r--r--view/jot-header.tpl5
-rw-r--r--view/style.css15
2 files changed, 17 insertions, 3 deletions
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;