blocknotejs library

Flutter BlockNote Editor - Production-ready BlockNoteJS WebView integration.

This package provides a Flutter widget that embeds BlockNoteJS inside a WebView with bidirectional communication, transaction batching, and undo/redo safety.

Classes

BlockNoteBlock
BlockNote block structure.
BlockNoteBlockTypeItem
Block type select item configuration.
BlockNoteColorPair
A color pair with text and background colors.
BlockNoteColorScheme
Color scheme configuration.
BlockNoteDocument
BlockNote document structure.
BlockNoteDocumentVersion
BlockNote document schema version.
BlockNoteEditor
BlockNote editor widget.
BlockNoteFontConfig
Font configuration for BlockNote editor.
BlockNoteFontFile
A font file for custom font configuration.
BlockNoteHighlightColors
Highlight colors configuration.
BlockNoteInlineContent
BlockNote block inline content.
BlockNoteSlashCommandConfig
Slash command configuration.
BlockNoteSlashCommandItem
Slash command item configuration.
BlockNoteTheme
Theme configuration for BlockNote editor.
BlockNoteToolbarButton
Toolbar button configuration.
BlockNoteToolbarConfig
Toolbar configuration.
BlockNoteTransaction
A BlockNote transaction containing one or more operations.
BlockNoteTransactionOp
A single transaction operation.

Enums

BlockNoteBasicTextStyle
Basic text styles for formatting toolbar buttons.
BlockNoteBlockType
Standard BlockNote block types.
BlockNoteFontFormat
Font file format.
BlockNoteHighlightColorType
Highlight color type.
BlockNoteInlineContentType
BlockNote block inline content types.
BlockNoteToolbarButtonType
Toolbar button types.
BlockNoteTransactionOperation
Transaction operation types.

Extensions

BlockNoteFontConfigExtension on BlockNoteFontConfig
Extension for BlockNoteFontConfig to add generateCss method.
BlockNoteFontFileCssExtension on BlockNoteFontFile
Extension for BlockNoteFontFile to add toCssSrc method.
BlockNoteFontFileExtension on BlockNoteFontFile
Extension for BlockNoteFontFile to add CSS-related getters.
BlockNoteFontFormatExtension on BlockNoteFontFormat
Gets the CSS format string.
BlockNoteThemeExtension on BlockNoteTheme
Extension for BlockNoteTheme to add helper methods.
BlockNoteToolbarButtonExtension on BlockNoteToolbarButton
Extension to add effectiveKey getter.