@mocanvas/mocanvas · interface
interface RichTextMarkExtension extends RichTextExtensionA formatting mark mocanvas knows how to render, measure and export.
Properties · 3
readonly attributesFor?: (mark: RichTextMark) => Record<string, string> | nullAttributes for the rendered tag, or null to drop the mark (an unsafe href, say).
readonly kind: "mark"readonly tag: stringmocanvas 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.