Skip to content

Instantly share code, notes, and snippets.

@gabesumner
Created September 23, 2011 15:37
Show Gist options
  • Save gabesumner/1237686 to your computer and use it in GitHub Desktop.
Save gabesumner/1237686 to your computer and use it in GitHub Desktop.
My favorite customizations for Sitefinity's Rich Text Editor
body { font: 1em Georgia, "Times New Roman", Sans-Serif; color: #444; }
a { color: #A82A15; text-decoration: none; }
h1 { font-size: 2.3em; margin-bottom: 20px; padding-bottom: 5px; }
h2 { font-size: 1.5em; font-weight: normal; color: #A82A15; margin: .8em 0 .8em 0; border-bottom: 1px solid #333; padding-bottom: 10px; }
p { margin: 5px 0 15px; line-height: 1.6em; }
ul, ol { margin: 5px 0 15px; }
ul li, ol li { line-height: 1.6em; margin: 0.5em; margin-left: 20px; padding-left: 5px; }
/* This ensures we'll see empty tags in RadEditor */
h1, h2, h3, h4, div, p, ul, ol, pre, blockquote { min-height: 1em; }
<?xml version="1.0" encoding="utf-8" ?>
<root>
<modules>
<module name="RadEditorStatistics" dockingZone="Bottom" visible="false" />
<module name="RadEditorDomInspector" visible="false" />
<module name="RadEditorNodeInspector" visible="false" />
<module name="RadEditorHtmlInspector" visible="false" />
</modules>
<tools name="MainToolbar">
<tool name="ToggleAdvancedToolbars"/>
<tool name="Bold" shortcut="CTRL+B"/>
<tool name="Italic" shortcut="CTRL+I"/>
<tool separator="true"/>
<tool name="InsertOrderedList" />
<tool name="InsertUnorderedList" />
<tool separator="true"/>
<tool name="LinkManager" shortcut="CTRL+K"/>
<tool name="Unlink" shortcut="CTRL+SHIFT+K"/>
<tool name="ImageManager" shortcut="CTRL+G"/>
<tool separator="true"/>
<tool name="FormatBlock"/>
</tools>
<tools>
<tool separator="true"/>
<tool name="AjaxSpellCheck"/>
<tool separator="true"/>
<tool name="PasteFromWord" />
<tool separator="true"/>
<tool name="JustifyLeft" />
<tool name="JustifyRight" />
<tool name="JustifyCenter" />
<tool name="JustifyFull" />
<tool separator="true"/>
<tool name="Indent" />
<tool name="Outdent" />
</tools>
<tools>
<tool name="FontName" shortcut="CTRL+SHIFT+F"/>
<tool separator="true"/>
<tool name="RealFontSize"/>
<tool separator="true"/>
<tool name="ForeColor"/>
<tool name="BackColor"/>
<tool separator="true"/>
<tool name="MediaManager" />
<tool name="FlashManager" />
<tool name="DocumentManager" />
</tools>
<tools>
<tool name="InsertParagraph" />
<tool name="InsertTable" />
<tool name="InsertSymbol"/>
<tool name="InsertHorizontalRule" />
<tool separator="true"/>
<tool name="Superscript" />
<tool name="Subscript" />
<tool separator="true"/>
<tool name="FormatStripper"/>
<tool separator="true"/>
<tool name="FindAndReplace" shortcut="CTRL+F"/>
<tool name="Print" shortcut="CTRL+P"/>
<tool name="ToggleScreenMode" />
</tools>
<cssFiles>
<item name="~/Extensions/RadEditor/radeditor.css" />
</cssFiles>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment