Document Font

Adds font, font size, and line height fields to the Document Properties plugin.  Following the example of the Document Properties plugin, these settings are saved as inline styles to the <BODY> tag, so they control defaults for an entire document rather than only for paragraph or smaller elements as do CKEditor's Font and Size dropdowns.

Inline styles in the <BODY> tag allow users to configure an entire document's appearance without resorting to an external style sheet.  Note, however, that styles defined in this way override duplicate definitions in external style sheets as well as embedded styles in <HEAD>, and are overridden by styles defined in subordinate elements.  See Types of CSS Styles for details.



23,280 downloads (view stats)


Plugin versions CKEditor versions
4.24 4.23 4.22

Version: 2.0

DownloadRelease notes

Version 2.0:
 - Added tooltips
 - Added resetStyle() as this wasn't getting inherited from docProps
 - Added ability to set line-height
 - Revised some labels
 - Fixed some typos

Tested only witih CKEditor 4.6, but may be compatible with other versions.


Twitter Facebook Facebook Instagram Medium Linkedin GitHub Arrow down Phone Menu Close icon Check