Skip to content

API > @blocksuite/blocks > BookmarkProps

Type alias: BookmarkProps ​

BookmarkProps: {caption: string; crawled: boolean; type: "card" | "embed"; url: string;} & MetaData

BookmarkProps.caption ​

optional caption: string

BookmarkProps.crawled ​

optional crawled: boolean

BookmarkProps.type ​

type: "card" | "embed"

The embed mode will embed the url into the block

BookmarkProps.url ​

url: string

Defined In ​

packages/blocks/src/bookmark-block/bookmark-model.ts:11