格式化样式

首页 关于我们 帮助手册 杰赢网站后台管理操作手册4.0版 后台编辑器用户手册 文本样式 格式化样式

Styles are pre-defined combinations of various formatting options that make it easier to keep the presentation of the text uniform. What is more, since a style often contains a number of features at once, when you want to customize the way a text fragment looks, you do not need to change a font, its size, or text and background color separately.

To choose a style, select a text fragment and press the Styles toolbar button. The Styles drop-down list contains a number of pre-defined block and inline styles that you can use. To make the choice easier, the style names are displayed in a style that they represent, giving you a preview of what the text will look like.


Styles drop-down menu in CKEditor


A style can be applied to the whole document, a paragraph, or a text fragment of arbitrary length — even a single letter. Do note, however, that for aesthetic and readability reasons it is recommended not to combine too many different styles in one document and to keep the styling consistent.


Styles used in CKEditor


In order to remove a style applied with the Styles feature, open the drop-down list and click the formatting style name again.