flutter_blocknote_editor 0.0.6
flutter_blocknote_editor: ^0.0.6 copied to clipboard
A Flutter package (beta) that embeds BlockNoteJS inside a WebView with bidirectional communication, transaction batching, and undo/redo safety.
0.0.6 #
Breaking Changes and Code Quality Improvements
- BREAKING: Removed deprecated
fontFamilyfield fromBlockNoteTheme- Use
fontfield withBlockNoteFontConfiginstead - Removed redundant
effectiveFontFamilygetter (usetheme.font?.familydirectly)
- Use
- Migrated model classes to use
sealed classinstead ofclassfor better type safetyBlockNoteInlineContentandBlockNoteBlocknow use sealed classes- Provides better exhaustiveness checking and type safety
- Fixed linting warnings for
JsonKeyannotations on Freezed constructor parameters
0.0.5-beta #
Major Refactoring and Improvements
- BREAKING: Migrated all model classes from
JsonSerializabletoFreezed- All models now use
@freezedannotation for better immutability and code generation - Removed all custom
fromJson/toJsonconverters - freezed handles serialization automatically - Models now have built-in
copyWithmethods and better type safety
- All models now use
- BREAKING: Fixed
stylestype fromMap<String, bool>toMap<String, dynamic>- Now correctly supports both boolean values (bold, italic, underline, strike) and string values (textColor, backgroundColor)
- Matches BlockNoteJS official schema
- Added comprehensive test suite for document JSON parsing
- Updated example app to load document from JSON file instead of empty document
- Improved code quality and maintainability
0.0.4-beta #
Documentation Improvements
- Added BlockNoteJS banner image and links to BlockNote resources
- Enhanced README with BlockNote feature descriptions
- Added credits section acknowledging BlockNote, Prosemirror, and Tiptap
- Improved README structure and visual presentation
0.0.3-beta #
Code Quality Improvements
- Fixed deprecated API usage: replaced
color.valuewithcolor.toARGB32() - Added ignore comments for deprecated
fontFamilyfield usage (kept for backwards compatibility) - Improved pub.dev static analysis score
0.0.2-beta #
Documentation and Metadata Updates
- Added pub.dev URL and repository links to README
- Added issue tracker link to pubspec.yaml
- Added topics/tags for better discoverability on pub.dev
- Updated README with improved links and metadata
0.0.1-beta #
Beta Release - This is the initial beta release of Flutter BlockNote Editor.
Features #
- WebView integration with BlockNoteJS
- Bidirectional communication between Flutter and JavaScript
- Transaction batching system for efficient updates
- Undo/redo safety implementation
- Support for standard BlockNote blocks (paragraph, heading, list, etc.)
- Custom theme support
- Custom toolbar configuration
- Custom slash commands
- Read-only mode support
- Debug logging support
Known Issues #
- This is a beta version with potential bugs
- BlockNoteJS has known bugs (see GitHub Issues)
- Critical iOS Safari bug: overlapping menus on text selection (BlockNoteJS issue #2122)