@mocanvas/mocanvas · interface

DefaultRichTextToolbarContentProps

interface DefaultRichTextToolbarContentProps

The formatting bar over a text shape that is being edited.

Follows the shape rather than docking, because the thing being formatted is on the canvas and a docked bar makes the user look away from it to press a button.


Properties · 1

marks?: readonly string[]

Which marks to offer. Defaults to bold, italic, strikethrough, code, link.

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.