Rich text element
A block based text editor element for long form content with headings, lists, quotes, images, tables, code and embeds.
The Rich Text element holds formatted content edited in a block editor (Editor.js) inside a modal. It is meant for content like articles, terms pages or long descriptions where styling each paragraph as a separate element would be too much work. The content is stored as structured blocks and rendered to HTML on the page inside a wrapper with the class dh-rich-text, so you can style its children from the Designer.
How it works
- Add from the element toolbar (Embed group) or Explorer; double click to edit, the editor opens in a 920px modal with a Save button.
- Block types: Header, Paragraph, List (nested, default unordered), Quote, Delimiter, Image, Code, Table, Raw HTML, Embed (YouTube, Vimeo, Twitch video).
- Inline tools: bold, italic, underline, hyperlink (CMD+L; target _blank or _self; rel nofollow, noopener, noreferrer, author), inline style tool.
- Block tunes: alignment, alert variant on paragraphs.
- Images upload to Divhunt storage by file or by URL.
- Stored as a JSON array of blocks; rendered to HTML with the editorjs.html library at runtime.
- If the element text is bound to dynamic (CMS) content, the editor refuses to open with 'Rich text is connected with dynamic content.'
- Output wrapper: <div class="dh-rich-text ...">.
When to use it
- Write a privacy policy page
- Add a long product description with lists and images
- Embed a YouTube video inside an article body
Limitations
- Cannot be edited in the modal when bound to a CMS field
- Invalid stored data renders the text 'Invalid rich-text data.'
Availability
- Works in Designer.
- Included in every plan.
How to use it.
- Add a Rich Text element
- Double click it to open the editor
- Write content with the block tools
- Click Save
Questions.
Can I style the rich text content?
Which embeds are supported?
Related features.
All available HTML tags support
Build with real HTML elements: sections, headings, lists, media, forms and semantic tags like article, nav and aside.
Advanced states
Style hover, focus, active, child, pseudo element and custom selector states for any element or class.
Native class system
Create reusable CSS classes, combine several on one element, and edit them visually across breakpoints and states.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→