Releases: TypeCellOS/BlockNote
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
v0.15.5
This is a small release which fixes some missing exports and adds a minor change to keyboard handling.
What's Changed
- fix: Add exports for vanilla block helpers by @matthewlipski in #1000
- fix: Locales export by @matthewlipski in #1002
- fix: Pressing Enter on block without inline content by @matthewlipski in #1010
Full Changelog: v0.15.4...v0.15.5
v0.15.4
This update fixes a few bugs surrounding the side menu, slash menu, and more, as well as adding Spanish and German locales.
What's Changed
- docs: examples link in
readme.md
by @zaaakher in #946 - fix: emojimart import by @YousefED in #950
- docs: added example custom tiptap extension (arrow conversion) by @kom-senapati in #971
- Add feature - Spanish dictionary. by @aespinoza96 in #985
- fix: Drag preview visibility by @matthewlipski in #976
- chore: add issue form for submitting blocks by @zaaakher in #974
- fix: windows gen file by @jkcs in #970
- fix: slash menu "no items" positioning by @jkcs in #981
- docs: Updated custom UI example by @matthewlipski in #926
- docs: remove free tier on pricing page by @YousefED in #990
- feat: added german translation by @Muvels in #992
- fix: Attribute check in
getDraggableBlockFromElement
by @matthewlipski in #995
New Contributors
- @kom-senapati made their first contribution in #971
- @aespinoza96 made their first contribution in #985
- @Muvels made their first contribution in #992
Full Changelog: v0.15.2...v0.15.4
v0.15.2
This release fixes some notable bugs, including the drag handle menu not working properly when using the shadcn
package and build issues that some people were encountering due to the recently added emoji picker.
What's Changed
- fix: Strikethrough shortcut in formatting toolbar button tooltip by @matthewlipski in #937
- docs: Fix dead links by @matthewlipski in #936
- fix: Side menu not actually freezing by @matthewlipski in #943
- fix: Formatting toolbar opening on drop by @matthewlipski in #944
- fix: Dropping blocks above editor by @matthewlipski in #945
- improve emoji loading by @YousefED in #935
- docs: update contribution.md to include a table of packages by @zaaakher in #931
Full Changelog: v0.15.1...v0.15.2
v0.15.1
What's Changed
- fix:
server-util
not public by @matthewlipski in #927
Full Changelog: v0.15.0...v0.15.1
v0.15.0
This release adds the highly requested server-util
package for static rendering of BlockNote documents, as well as adding a new emoji picker menu and fixing miscellaneous bugs and architectural improvements (most notably being unable to change editor content before rendering). We've also upgraded to TipTap 2.5.0 underneath.
See https://www.blocknotejs.org/docs/editor-api/server-processing for the docs on server processing!
New examples:
What's Changed
- fix: usePrefersColorScheme window reference breaks nextjs by @YousefED in #907
- feat. add example in docs for removing default blocks by @hunxjunedo in #902
- feat: added support for uppy by @ezhil56x in #842
- docs: AWS S3 example & example cleanup by @matthewlipski in #914
- site: add BlockNote Pro by @YousefED in #913
- fix: React unit tests using vanilla file blocks by @matthewlipski in #908
- feat: server-side processing by @YousefED in #451
- feat: Add Emoji Picker Option by @hunxjunedo in #854
- chore: upgrade tiptap 2.5.0 by @YousefED in #923
New Contributors
- @hunxjunedo made their first contribution in #902
- @ezhil56x made their first contribution in #842
Full Changelog: v0.14.4...v0.15.0