You can create and use your own styles for
Quick Format panel. For this purpose you shold create your
own
css file.
For example, make file
myQuickformat.css in folder
Editor_data/ed_quickformat in downloaded
HTML Editor's distributive:
.boldItalic { color: #c60; font-weight: bold; font-style:italic;}
/* Bold & Red */
.alert { color: #FF0000; font-weight: bold; }
/* Blue verdana */
.style2 { font-family: verdana,arial,helvetica,sans-serif; color: #003399; }
.style3 { font-family: verdana,arial,helvetica,sans-serif; color: #996633; }
.style4 { font-family: verdana,arial,helvetica,sans-serif; color: #FF9933; }
For every style class defined in this
CSS, there will be displayed one string in the
Quick Format panel of
HTML Editor.
By default, the name of style class is displayed:
boldItalic,
style3 and
style4
in this example.
But, if there is leading comment before the class definition, content of this comment will be
displayed instead of the class name:
Bold & Red and
Blue verdana
in this example.
Example code
<ed:Editor id="editor" runat="server" QuickFormatFile="myQuickFormat.css"/>