Rich text

Important: this is an experimental feature, please proceed with caution.
We're kindly asking you to report any bugs and suggest following changelog for the most recent updates.

Out of the box, Polotno does not support the rendering of rich text elements, meaning you cannot apply different styles, colors, fonts, etc., to parts of the text. The entire text element must maintain a uniform style. However, Polotno offers experimental support for rich text elements, which must be explicitly activated.


How to enabled rich text support?

import { unstable_useHtmlTextRender } from 'polotno/config';

unstable_useHtmlTextRender(true);

When 'html renderer' is enabled, Polotno will use very different rendering logic for text elements. Rich text may drop performance of your application if you have many text elements. Please report any issues you may come across.

Get a personalized walkthrough of Polotno's capabilities

News, updates and promos –
subscribe now