Releases: TypeCellOS/BlockNote
v0.19.0: Column layouts, PDF and Docx exports
💖 Column-based layouts have been sponsored by Capitol AI 💖
💖 File exporters have been sponsored by DINUM 🇫🇷 and ZenDiS 🇩🇪
Column based layouts
File exporters: client-side export to docx and pdf
What's XL, you wonder?
These packages have been published as @blocknote/xl-multi-column
, @blocknote/xl-pdf-exporter
and @blocknote/xl-docx-exporter
. We're 100% committed to developing all our work open source. To ensure we run a sustainable project, we are experimenting with XL packages. These are dual-licensed packages that are released under AGPL-3.0 licenses. You're free to use these in open source projects, but for usage in proprietary / commercial projects, a sponsorship is required.
What's Changed
- feature: File exporters (docx and pdf) by @YousefED in #1143
- feature: Column based layouts by @YousefED and @matthewlipski in #1154
- chore: fixed typo in documentation page by @irakli2206 in #1195
- chore: externalize shiki languages by @YousefED in #1216
- fix: react 19 strictmode race condition by @YousefED in #1196
New Contributors
- @irakli2206 made their first contribution in #1195
Full Changelog: v0.18.1...v0.19.0
v0.18.0 and v0.18.1: Code Block, React 19, Table UX
Another big update! 🙌
This release adds:
- A code block with syntax highlighting! Great work @areknawo! 💖 CellaJS sponsored this our work on this.
- Improved Table UX (see image below)! Click or Drag to add rows / columns to tables. Also, resized column widths are now stored in the BlockNote JSON. This feature was sponsored by DeepOrigin 💖
Last, but not least, we added support for React 19 and Next.js 15 (would have been cool if this was BlockNote v0.19 instead of v0.18, but you can't have it all 🤷♂️). ---> Please see the upgraded next.js guide in the docs.
What's Changed
- feat: Table row/column extension UI by @matthewlipski in #1172
- fix: set numbered list data-index on export to html by @YousefED in #1174
- fix: React 19 compatibility by @YousefED in #1173
- fix: pasting in table by @YousefED in #1181
- fix: caption width match file container #1169 by @mwonng in #1182
- feat: Code block by @areknawo in #1177
New Contributors
Full Changelog: v0.17.1...v0.18.1
(note: most of these changes were in v0.18.0, v0.18.1 only adds this commit to make sure the peerDependency is compatible with React 19 RC. _note that @blocknote/core
remained unchanges, so you can use v0.18.0 for this)
v0.17.1
What's Changed
- fix: Error thrown on Backspace in first block by @matthewlipski in #1165
Full Changelog: v0.17.0...v0.17.1
v0.17.0
This release introduces a major refactor to a lot of BlockNote's internal code, which will make it easier to implement certain features down the line. Additionally Ctrl/Cmd+ArrowUp/ArrowDown shortcuts have been added to move the selected block up and down, and bugs have been fixed including copying on Firefox and updating block content.
What's Changed
- refactor: cleaned serialization code by @YousefED in #1129
- feat: Keyboard shortcuts to move selected block up/down by @matthewlipski in #1126
- chore: use import extensions in all packages (except docs) by @YousefED in #956
- fix: Block update removing children when setting content by @matthewlipski in #1103
- refactor: clean sidemenuplugin by @matthewlipski in #1132
- chore: mark all css files as sideEffects by @YousefED in #1146
- feat: Add Croatian Translation Dictionary by @IvanM98 in #1128
- fix: Error when copying custom blocks by @matthewlipski in #1159
- Refactor: clean blockcontainer by @YousefED in #1137
- refactor: remove simplifyblocks and make copy sync by @YousefED in #1160
New Contributors
Full Changelog: v0.16.0...v0.17.0
0.16.0
This release fixes some major issues regarding copying & selections.
What's Changed
- docs: Fixed image upload demo by @matthewlipski in #1108
- Internal html changes by @matthewlipski in #1116
Full Changelog: v0.15.11...v0.16.0
v0.15.11
This release adds two main changes - table handles now hide when the user begins highlighting text, and a bug where numbered list item indices are sometimes null
has been fixed.
What's Changed
- fix: Paste event handling in non-selectable blocks by @matthewlipski in #1094
- fix: Made all events in non-selectable blocks get handled by browser by @matthewlipski in #1112
- fix: Table handles hide when selection is active by @matthewlipski in #1111
- fix: Null list item index fix by @YousefED in #1113
Full Changelog: v0.15.10...v0.15.11
v0.15.10
This release adds an isSelectable
field in blockConfig
which allows custom blocks to be non-selectable.
What's Changed
- v0.15.9 by @matthewlipski in #1088
- feat: Non-selectable custom blocks by @matthewlipski in #1090
- fix: add editor parameter to inline content render (core) by @YousefED in #1091
Full Changelog: v0.15.9...v0.15.10
v0.15.9
This version comes with a few notable improvements, including loading indicators when dropping/pasting files, a function to update custom inline content, and block props now being rendered out to HTML attributes in blocksToHTMLLossy
. Additionally fixes a number of bugs.
What's Changed
- chore: make editor.options protected by @YousefED in #1061
- vulnerability found in micromatch. bump version to 4.0.8 by @appleflyerv3 in #1059
- fix: xss in link toolbar and file download by @zeyu2001 in #1060
- chore: Updated
agent-upload-artifact-action
GitHub action version by @matthewlipski in #1073 - feat: SuggestionMenuController.tsx support ignoreQueryLength by @jkcs in #1072
- fix: Cut events when a block is selected by @matthewlipski in #1071
- fix:
blocksToHTMLLossy
props asdata-
attributes by @matthewlipski in #1068 - feat: Added parameter for updating custom inline content in
render
by @matthewlipski in #1080 - feat: add option to set html id by @m-risto in #1078
- feat: make callback return value optional in forEachBlock function by @m-risto in #1081
- fix: upgrade tiptap to 2.7.1 by @YousefED in #1084
- add option to disable animations by @YousefED in #1062
- fix: Loading indicator when dropping/pasting files by @matthewlipski in #1069
- Remove some non null assertion operator by @kody-liu in #1057
New Contributors
- @appleflyerv3 made their first contribution in #1059
- @zeyu2001 made their first contribution in #1060
- @m-risto made their first contribution in #1078
- @kody-liu made their first contribution in #1057
Full Changelog: v0.15.7...v0.15.9
v0.15.7
This release mainly fixes some bugs regarding the emoji picker as well external file drag/drop and copy/paste.
Breaking changes
openSelectionMenu
has been renamed toopenSuggestionMenu
fileBlockAcceptMimeType
has been renamed tofileBlockAccept
What's Changed
- Update Doc: table's content type is TableContent by @debbbbie in #1044
- fix: Renamed
openSelectionMenu
toopenSuggestionMenu
by @matthewlipski in #1047 - fix: Emoji suggestion slash menu does not display by @jkcs in #984
- fix: make ServerBlockNoteEditor constructor protected by @YousefED in #1048
- fix: External file drag/drop and copy/paste by @matthewlipski in #1052
Full Changelog: v0.15.6...v0.15.7
v0.15.6
This release fixes a number of bugs, including issues with locales not using the latin alphabet, suggestion menu positioning for narrow viewports, and issues with selections.
What's Changed
- docs: Updated sponsors by @matthewlipski in #1019
- fix: Slight improvement to suggestion menu positioning by @matthewlipski in #1025
- fix: Show formatting toolbar when editor isn't editable by @matthewlipski in #1024
- docs: Fix Emoji Picker link by @kmelon55 in #1013
- fix: Made
BlockNoteEditor
constructorprotected
by @matthewlipski in #1039 - fix: Added missing formatting toolbar button exports by @matthewlipski in #1032
- Dynamic import of unified dependencies by @YousefED in #1026
- Update Doc: image prop width change to previewWidth by @debbbbie in #1007
- fix: Block insert twice when using korean at suggestion by @d2n0s4ur in #1034
- fix: Unexpected getSelection by @jkcs in #1030
New Contributors
- @kmelon55 made their first contribution in #1013
- @debbbbie made their first contribution in #1007
- @d2n0s4ur made their first contribution in #1034
Full Changelog: v0.15.5...v0.15.6