added code, quote styles to editor
This commit is contained in:
parent
8d0ba93436
commit
dfd3cef734
4 changed files with 29 additions and 53 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue