格式化样式

  • 最后更新时间: 2016-08-17 14:21:20
  • / 创建时间: 2016-08-17 14:21:02

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.


昵称*:
邮箱地址*:
评分*:
内容*: