HTML fields
Field types
There are two types of HTML fields in Hippo CMS: formatted text and rich text. Formatted text fields only allow simple text editing, and do not support links or images. Rich text fields allow all possible markup, including links and images. The table below lists the main differences.
Formatted text field | Rich text field | |
Functionality | Simple text editing: bold, underline, lists, etc. | Complex text editing, including links, images, tables, etc. |
Supports links and images | No | Yes |
HTML stored as | String property of a document | String property 'hippostd:content' of a child node of a document |
Configuration
The configuration of HTML fields is explained in several sub-sections:
- HTML field configuration properties
All configuration properties available for HTML fields in the document type editor.
- HTML cleaning
How to configure client-side and server-side HTML cleaning.
CKEditor
HTML fields are edited in the CMS with CKEditor. The configuration of CKEditor is explained in several sub-sections:
- CKEditor configuration properties
Explanation of the configuration properties ckeditor.config.overlayed.json and ckeditor.config.appended.json.
- CKEditor plugins
A list of all available CKEditor plugins, instructions how to add and remove them, and an explanation about custom CKEditor plugins.
- CKEditor toolbar configuration
How to configure the CKEditor toolbar.
- CKEditor toolbar items
A list of all available CKEditor toolbar items.
- CKEditor keyboard shortcuts
How to configure keyboard shortcuts in CKEditor.
- CKEditor caching
How to configure the browser caching of CKEditor resources.
- Customize CKEditor Styles
How to customize the options in the 'styles' combo box of CKEditor.
- Customize CKEditor CSS
How to customize the styling of the CKEditor editing area and 'styles' combo box.