BlockSuite API Documentation / @blocksuite/blocks
@blocksuite/blocks
Enumerations
Classes
- AffineDocRemoteSelectionWidget
- AffineDragHandleWidget
- AffineEdgelessZoomToolbarWidget
- AffineFormatBarWidget
- AffineImageToolbarWidget
- AffineLinkedDocWidget
- AffineModalWidget
- AffinePageDraggingAreaWidget
- AffinePieMenuWidget
- AffineReference
- AffineSlashMenuWidget
- AffineSurfaceRefToolbar
- AttachmentAdapter
- AttachmentBlockComponent
- AttachmentBlockModel
- AttachmentService
- BlockHubWidget
- BookmarkBlockComponent
- BookmarkBlockModel
- BookmarkService
- Bound
- BrushElementModel
- CodeBlockComponent
- ConnectorElementModel
- DataViewBlockComponent
- DataViewBlockModel
- DatabaseBlockComponent
- DatabaseBlockModel
- DatabaseService
- DividerBlockComponent
- EdgelessBlock
- EdgelessComponentToolbar
- EdgelessRemoteSelectionWidget
- EdgelessRootBlockComponent
- EdgelessRootService
- EdgelessSurfaceRefBlockComponent
- EdgelessTemplatePanel
- ElementModel
- EmbedBlockElement
- EmbedFigmaBlockComponent
- EmbedFigmaModel
- EmbedGithubBlockComponent
- EmbedGithubModel
- EmbedGithubService
- EmbedHtmlBlockComponent
- EmbedHtmlModel
- EmbedHtmlService
- EmbedLinkedDocBlockComponent
- EmbedLinkedDocModel
- EmbedLinkedDocService
- EmbedLoomBlockComponent
- EmbedLoomModel
- EmbedLoomService
- EmbedSyncedDocBlockComponent
- EmbedSyncedDocModel
- EmbedSyncedDocService
- EmbedYoutubeBlockComponent
- EmbedYoutubeModel
- EmbedYoutubeService
- FrameBlockComponent
- FrameBlockModel
- FramePreview
- GroupElementModel
- HtmlAdapter
- ImageAdapter
- ImageBlockComponent
- ImageBlockModel
- ImageService
- InlineManager
- LangList
- ListBlockComponent
- ListService
- MarkdownAdapter
- MixTextAdapter
- NoteBlockComponent
- NoteBlockModel
- NoteService
- NotionHtmlAdapter
- PageRootBlockComponent
- PageRootService
- ParagraphBlockComponent
- ParagraphService
- PlainTextAdapter
- ReferenceNodeConfig
- RichText
- RootBlockModel
- RootService
- ShapeElementModel
- SurfaceBlockComponent
- SurfaceBlockModel
- SurfaceRefBlockComponent
- SurfaceRefBlockService
- SurfaceService
- TestUtils
- TextElementModel
- ThemeObserver
- Viewport
Interfaces
Type Aliases
- AbstractEditor
- AffineInlineEditor
- Attachment
- AttachmentBlockProps
- BookmarkBlockProps
- Cell
- CodeBlockModel
- ColumnDataUpdater
- ColumnType
- ColumnTypeIcon
- ColumnUpdater
- DataProperty
- DataView
- DatabaseBlockProps
- DividerBlockModel
- EdgelessRootBlockWidgetName
- EmbedFigmaBlockProps
- EmbedFigmaBlockUrlData
- EmbedGithubBlockProps
- EmbedGithubBlockUrlData
- EmbedHtmlBlockProps
- EmbedLinkedDocBlockProps
- EmbedLoomBlockProps
- EmbedLoomBlockUrlData
- EmbedSyncedDocBlockProps
- EmbedYoutubeBlockProps
- EmbedYoutubeBlockUrlData
- HighlightOptionsGetter
- Html
- Image
- ImageBlockProps
- InlineMarkdownMatch
- InlineMarkdownMatchAction
- InlineSpecs
- InsertToPosition
- ListBlockModel
- ListType
- Markdown
- MixText
- NavigatorMode
- NotionHtml
- PageRootBlockWidgetName
- ParagraphBlockModel
- ParagraphType
- PieMenuId
- PlainText
- PointStyle
- RootBlockComponent
- SelectTag
- SerializedCells
- SerializedXYWH
- SurfaceRefBlockModel
- Template
- TemplateCategory
- TreeNode
- TreeNodeWithId
Variables
- AffineSchemas
- ArrowDownSmallIcon
- AttachmentBlockSchema
- BlocksUtils
- BookmarkBlockSchema
- BookmarkStyles
- CanvasTextFonts
- CloseIcon
- CodeBlockSchema
- ColorVariables
- DataViewBlockSchema
- DatabaseBlockSchema
- DividerBlockSchema
- DocIcon
- DualLinkIcon16
- EdgelessEditorBlockSpecs
- EmbedFigmaBlockSpec
- EmbedFigmaStyles
- EmbedGithubBlockSpec
- EmbedGithubStyles
- EmbedHtmlBlockSpec
- EmbedHtmlStyles
- EmbedLinkedDocBlockSpec
- EmbedLinkedDocStyles
- EmbedLoomBlockSpec
- EmbedLoomStyles
- EmbedSyncedDocStyles
- EmbedYoutubeBlockSpec
- EmbedYoutubeStyles
- FontFamilyVariables
- FrameBlockSchema
- HtmlTransformer
- ImageBlockSchema
- LinkedDocIcon
- ListBlockSchema
- MarkdownTransformer
- NoteBlockSchema
- PageEditorBlockSpecs
- ParagraphBlockSchema
- PlusIcon
- RootBlockSchema
- SizeVariables
- StyleVariables
- SurfaceBlockSchema
- SurfaceRefBlockSchema
- TagsIcon
- ZipTransformer
- checkboxPureColumnConfig
- datePureColumnConfig
- figmaUrlRegex
- githubUrlRegex
- linkPureColumnConfig
- loomUrlRegex
- multiSelectColumnConfig
- multiSelectPureColumnConfig
- numberPureColumnConfig
- progressPureColumnConfig
- richTextPureColumnConfig
- youtubeUrlRegex
Functions
- createButtonPopper
- createDefaultDoc
- createEmbedBlock
- createLangList
- customImageProxyMiddleware
- defaultImageProxyMiddleware
- defineEmbedModel
- extractCssVariables
- generateKeyBetween
- getAffineInlineSpecsWithReference
- getTableContainer
- getTextStyle
- getThemeMode
- insertPositionToIndex
- isTextStyleActive
- nanoidReplacement
- on
- onModelElementUpdated
- onModelTextUpdated
- once
- popTagSelect
- registerTextStyleCommands
- replaceIdMiddleware
- scrollbarStyle
- selectBlock
- selectBlocksBetween
- setImageProxyMiddlewareURL
- showImportModal
- toggleBold
- toggleCode
- toggleItalic
- toggleLink
- toggleStrike
- toggleUnderline
- toolbarDefaultConfig
- updateBlockType