1
0
Fork 0

added code, quote styles to editor

This commit is contained in:
Mike Macgirvin 2010-08-12 01:47:08 -07:00
commit dfd3cef734
4 changed files with 29 additions and 53 deletions

View file

@ -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,

View file

@ -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;