.

Our Blog

Blog

Destaing

Content styles

Some of the core editor features bring additional CSS to control the look of the content they produce. Take, for example, the image feature that needs special content styles to render images and their captions in the content. Or the block quote feature that displays quotes in italic with a subtle border on the side.

Editor content styles.

Content styles are bundled along with editor UI styles and, together with the JavaScript code of CKEditor 5, they create a monolithic structure called an editor build. By default, content styles are inseparable from the rest of the editor which means there is no CSS file containing them you could take straight from the editor and use in your application (as opposed to the CKEditor 4 contents.css file). To get the editor content styles, for instance, for the front–end of your application, you will have to take additional steps described in this guide.

Like us!
Follow us!
Recommend us!
Follow via RSS
Follow us!