Commit 5e772607 by Brian Talbot

studio html editor - styled <pre> and <code> elements, revised code tinyMCE icon

parent 023dadd0
...@@ -117,6 +117,7 @@ code { ...@@ -117,6 +117,7 @@ code {
font-family: monospace, serif; font-family: monospace, serif;
background: none; background: none;
color: #3c3c3c; color: #3c3c3c;
padding: 0;
} }
table { table {
......
...@@ -100,6 +100,7 @@ code { ...@@ -100,6 +100,7 @@ code {
color: $baseFontColor; color: $baseFontColor;
font-family: monospace, serif; font-family: monospace, serif;
background: none; background: none;
padding: 0;
} }
table { table {
......
...@@ -51,7 +51,7 @@ class @HTMLEditingDescriptor ...@@ -51,7 +51,7 @@ class @HTMLEditingDescriptor
@setupTinyMCE: (ed) -> @setupTinyMCE: (ed) ->
ed.addButton('wrapAsCode', { ed.addButton('wrapAsCode', {
title : 'Code Block', title : 'Code Block',
image : '/static/images/code.gif', image : '/static/images/ico-tinymce-code.png',
onclick : () -> onclick : () ->
ed.formatter.toggle('code') ed.formatter.toggle('code')
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment