-
-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release: v0.12 - new website and major refactor #609
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # examples/alert-block/Alert.tsx # examples/editor/src/style.css # examples/react-custom-blocks/App.tsx # examples/react-vanilla-custom-blocks/App.tsx # examples/vanilla/package.json # package-lock.json # packages/website/docs/.vitepress/config.ts # packages/website/docs/examples/changing-font.md # packages/website/docs/examples/custom-ui.md # packages/website/docs/examples/keyboard-shortcuts.md # packages/website/docs/examples/saving-loading.md # packages/website/package.json # playground/src/main.tsx
separate inter font
* Added option to customize placeholders * Slightly adjusted default placeholders * check emptyness with css * Added editor options to customize placeholders via CSS * Implemented PR feedback * small placeholder fixes --------- Co-authored-by: yousefed <[email protected]>
… refactor/playground-nextjs # Conflicts: # docs/components/pages/landing/hero/Demo.tsx
…ockNote into refactor/playground-nextjs
… refactor/playground-nextjs
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This was referenced Mar 5, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
v0.12 is a big one, which unlocks a number of highly requested features (and fixes) 🥳! As part of this, we're also shipping a brand new website with plenty of updated examples and completely revised the documentation.
Looking forward to your feedback! Although most of the API has stayed the same, there are a few breaking changes. Let us know in case you have trouble upgrading.
Breaking changes
useBlockNote
has been renamed touseCreateBlockNote
. Also, event handlers mostly moved toBlockNoteView
or hooks.onEditorReady
event has been removed as it's no longer needed. See Editor SetupBlockNoteView
now takes props to disable built-in components. See Editor Setup[element]Positioner
components have been renamed to[element]Controller
)BlockNoteSchema
to register your custom blocks / styles / inline content. See Custom SchemasInter
font to reduce the main bundle size. Addimport "@blocknote/core/fonts/inter.css";
separatelyFixes 🤩
closes #530
closes #252
closes #471
closes #342
closes #349
closes #497
closes #565
closes #506
closes #488
closes #506
closes #495
closes #403
closes #320
closes #601
closes #582
closes #566
closes #554
closes #433
closes #583
Some changes are maybe easier to see in separate PRs that have been merged into this one:
#520
#579
#576
#567
#599
#600
#503
Dev notes
(internal list for contributors)
Homepage
Examples
playground
attribute_meta.json
is still required when all files have{ playground: true, docs: false}
)Code snippets
Docs
Others
flushSync
later