CKEditor
@_sh/strapi-plugin-ckeditor provides HTML-based rich text editing through CKEditor.
Content is stored as HTML and rendered in the UI via dangerouslySetInnerHTML with link processing and sanitization.
For editor choice, shared rich text styles, presets, and frontend renderer guidance, see Rich Text Editors.
Components
utilities.ck-editor-content provides a reusable rich text block with the defaultCkEditor preset. Other components can use inline CKEditor fields with one of these presets, depending on the toolbar they need:
defaultCkEditor— full toolbar for long-form rich text.titleCkEditor— headings, styles, font color, and alignment. Use for short title fields.descriptionCkEditor— the title toolbar plus lists and links. Use for short descriptions.
UI Rendering
import CkEditorRenderer from "@/components/elementary/ck-editor"
return (
<CkEditorRenderer
htmlContent={component.content}
className="mx-auto w-full max-w-[1296px] px-4 py-8"
/>
)
Custom CKEditor plugins and heading styles live in apps/strapi/src/admin/ckeditor. Typography variant guidance lives in Typography.