@mocanvas/mocanvas · interface

RichTextMark

interface RichTextMark

A formatting mark on a text node: { type: "bold" }, { type: "link", attrs: { href } }.


Properties · 2

attrs?: Record<string, unknown>
type: string

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.