@mocanvas/mocanvas · constant

RICH_TEXT_BLOCK_CSS

declare const RICH_TEXT_BLOCK_CSS: string

The CSS a rich-text label lays out under, in both the measuring probe and the DOM overlay. __SCOPE__ is replaced with the selector of the container.

Exported so the overlay renders under exactly the rules the measurer used — one copy of the numbers, not two.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.