I want to style some text in an article as source code. So I created a new class, .sourcecode, in editor.css (style is at the end of this posting, but probably not relevant). This style is applied to text in the TinyMCE editor window but not visible in the published page. The class="sourcecode" modifier is there, it is just not visible.
I am guessing this is because page templates in SS don't import editor.css. However, in this case, how do you apply in the editor styles that you have added to typography.css? They don't seem to be accessible within the editor.
Apologies if this is a FAQ - I couldn't find anything on this.
Ian.
--
.sourcecode {
width: 550px;
margin-left: 10px;
padding: 10px;
border: 1px solid #ccc;
background-color: #f3f3f3;
font-family: "Courier New", courier, monospace;
}