Styling

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

Text formatting is used to modify the text. This function keeps document legible and clear and gives user a chance to decide how the text will look like.

Bold, Italic, Underlined and Strike-through

User may arrange the way font is displayed, using four different options:

  • To make font bold press the CKEditor bold.png on the toolbar. 
  • To have your text italic press theCKEditor italic.pngon the toolbar .
  • For underlined press theCKEditor underline.png on the toolbar.
  • To strike lines through the text press Strike-through on the toolbar.

Example:

CKEditor example formatting.png

Choosing any options highlight the toolbar’s buttons. In order to cancel formatting press the button responsible for specific option again.

Example:

CKEditor example mixed.png

Notice that if you do not switch the underline option off the underline will go between your blanks.

Example:

CKEditor underliendfont.png

This also includes the strike through function.

Mixing the options is available, however too much formatting makes the text illegibly and ugly. Keep that in mind and try not to overuse these options.

Styles

Using lots of different formatting on the text makes it ugly and difficult to read.

Styles keep all formatting uniform. Each style provides a predefined combination of formatting features. It combines all the formatting functions described in this chapter and enables fast access to the common used text formats. For example: Instead of changing individually: the font, its color, its background, its size user may simply pick a preferred style from the Style menu and start typing.

File:CKEditor style.png

Please remember to be instructed on how properly use each style.

Example:

File:CKEditor example style.png

Text Alignment

Paragraphs’ lines may be modified as well.

Example:

CKEditor example align left.png

Example:

CKEditor example align right.png

Example:

CKEditor example align center.png

  • To use the block alignment also called "justify" user needs to press CKEditor justify.pngon the toolbar (“Justify” expands the text and makes it equally long so that the lines will end in the same place)

Example:

Image:AlignmentB_example.png

Paragraph (Block) Format

Format menu located in the toolbar is one of the most important functions.

File:CKEditor format menu.png

User uses format to organize the text and to distinguish different parts of the text e.g.: if user wishes to start a new chapter or to put different categories and subcategories he/she utilizes the format menu and chooses different headings.

Example:

File:CKEditor example format.png


Fonts

Different style of writing are called fonts. Fonts are functions which determine how the letters in the text look like. Most popular fonts are "Times New Roman" and "Arial”. In order to set a different font in the document User needs to access the font menu in the toolbar and chooses a font.

CKEditor font menu.png


Example:

CKEditor example font.png


Make sure not to overuse this feature. Give preference to the Styles menu instead. Styles have been precisely designed by the web side developer which make document more legible.


Text Size

If font’s size needs to be changed User should open the "Size menu" located in the toolbar. Predefined range of size will be display. In order to change the font’s size user needs to choose one of the available options.

CKEditor size menu.png

Example:

File:CKEditor fontsize example.png

CKEditor offers a big variety of sizes.

Colors

CKEditor enables User to change the color of the text or the background.

In order to change color of the text User need to press CKEditor textcolor.pngbutton. Several colors will appear in that menu. User may choose more colors available under "More colors...".

Clicking on the color activates it.

File:CKEditor color menu.png

Example:

File:CKEditor example color.png

In order to change the background color User should File:CKEditor bgcolor.png button. A range of colors the same ones as in the text color will appear.

Example:

File:CKEditor example bgcolor.png

You may also mix the colours of your text and the background.

Subscript and Superscript

Subscript and superscript are usually used for mathematical needs.

In order to put subscript to a letter or a number user should press CKEditor subscript.png button on the toolbar.

Example:

File:CKEditor example subscript.png

As you can see letter and number are written a smaller font than the normal text.

The superscript function works in the same way as the subscript but instead of putting the index on the bottom, it is placed on the top.

In order to use superscript function user ought to press CKEditor superscript.png button 

Example:

File:CKEditor example superscript.png

User could freely mixok dxi subscript and superscript function.

Example:

File:CKEditor example mix.png