Polotno Docs
Features

Vertical Text Resize

Enable vertical resizing for text elements and control vertical alignment

By default, you can't change height of text elements. Texts are always updating their own height to fit content. To modify it, consider setting a bounding box for text elements and replacing text content dynamically on the backend later on.

When vertical resize is enabled you can also set vertical align from the text toolbar.

How to enable vertical text resize?

import { setTextVerticalResizeEnabled } from 'polotno/config';

setTextVerticalResizeEnabled(true);

Live demo