Skip to content
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

✨(frontend) add Alert, Quote, and Divider blocks to the editor #566

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

arnaud-robin
Copy link
Collaborator

@arnaud-robin arnaud-robin commented Jan 17, 2025

Purpose

Add new block types to better reproduce current text editor experience that user need.

Proposal

  • Introduced new Alert, Quote, and Divider components for enhanced document editing.
  • Updated BlockNoteEditor to include these new block types in the schema.
  • Implemented corresponding slash menu items for easy insertion of these blocks.

Demo

scrnli_N6gLzA1nhLFnks.webm

@arnaud-robin arnaud-robin force-pushed the feature/custom-blocks branch from 6d8a6f0 to c6fa394 Compare January 17, 2025 11:18
@AntoLC AntoLC force-pushed the feature/custom-blocks branch 2 times, most recently from ed799fc to bb38ec3 Compare February 4, 2025 14:35
@AntoLC AntoLC added enhancement New feature or request frontend feature labels Feb 4, 2025
@AntoLC AntoLC force-pushed the feature/custom-blocks branch 2 times, most recently from fa76faa to 52aa696 Compare February 4, 2025 14:38
arnaud-robin and others added 2 commits February 4, 2025 15:49
- Introduced new Alert, Quote, and Divider components for enhanced document editing.
- Updated BlockNoteEditor to include these new block types in the schema.
- Implemented corresponding slash menu items for easy insertion of these blocks.
- Added translations for new block types and their descriptions in the i18n files.
Move Blocknote styles to separate file.
@AntoLC AntoLC force-pushed the feature/custom-blocks branch from 52aa696 to 0815af4 Compare February 4, 2025 14:51
@AntoLC AntoLC marked this pull request as ready for review February 4, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add divider as block type ✨ Create "callout" custom block ✨Quotes
2 participants