Apply CSS
PageHeading1
PageHeading2
PageText
PageTitle
Apply CSS
Font
Arial
Arial Black
Comic Sans MS
Courier
Courier New
Fixedsys
Georgia
Impact
Lucida Console
Lucida Sans Unicode
MS Sans Serif
MS Serif
Marlett
Modern
Palatino Linotype
Roman
Script
Small Fonts
Symbol
System
Tahoma
Terminal
Times New Roman
Trebuchet MS
Verdana
Webdings
Wingdings
Font
Size
1 (8 pt)
2 (10 pt)
3 (12 pt)
4 (14 pt)
5 (18 pt)
6 (24 pt)
7 (36 pt)
Size
Description
You can apply CSS to the selected text inside the editor by selecting a CSS class name from the
Apply CSS
dropdown, which is a customized toolbar dropdownlist item created as follows:
1. Add the following to your editor XML file:
<
ToolbarItem
Type=
"DropDown"
ID=
"ApplyCSS"
Command=
"None"
/>
2. Add items to your
Apply CSS
dropdown inside
ToolbarItemRender
event handler in the page code file.
3. Add
ApplyCSS
client-side JavaScript method to apply the CSS class to the selected text inside the editor.