@mocanvas/mocanvas · function
declare function createBookmarkShape(editor: Editor, url: string, asset: Asset | undefined, point?: VecLike): ShapeIdCreate the bookmark card for a url, storing asset when the unfurl
produced one. A card with assetId: null is a valid card — it renders the
host and the url and nothing else.
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.