studio html editor - styled <pre> and <code> elements, revised code tinyMCE icon
This commit is contained in:
@@ -100,6 +100,7 @@ code {
|
||||
color: $baseFontColor;
|
||||
font-family: monospace, serif;
|
||||
background: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
|
||||
@@ -51,7 +51,7 @@ class @HTMLEditingDescriptor
|
||||
@setupTinyMCE: (ed) ->
|
||||
ed.addButton('wrapAsCode', {
|
||||
title : 'Code Block',
|
||||
image : '/static/images/code.gif',
|
||||
image : '/static/images/ico-tinymce-code.png',
|
||||
onclick : () ->
|
||||
ed.formatter.toggle('code')
|
||||
})
|
||||
|
||||
BIN
common/static/images/ico-tinymce-code.png
Normal file
BIN
common/static/images/ico-tinymce-code.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 553 B |
Reference in New Issue
Block a user