Repository navigation
Add inline Code to the default formatting toolbar - #3423
nperez0111 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
@blocknote/ariakit
@blocknote/code-block
@blocknote/core
@blocknote/diagram-block
@blocknote/mantine
@blocknote/math-block
@blocknote/react
@blocknote/server-util
@blocknote/shadcn
@blocknote/xl-ai
@blocknote/xl-docx-exporter
@blocknote/xl-email-exporter
@blocknote/xl-multi-column
@blocknote/xl-odt-exporter
@blocknote/xl-pdf-exporter
@blocknote/xl-typst-exporter
commit: |
|
|
@matthewlipski & @YousefED, could you explain why we did not already have this? Was it an oversight or intentional? |
No reason I'm aware of. Could be that other apps like notion also didnt use to have this, but not sure. so let's go! |
Summary
Add Code after Strike in the default formatting toolbar so users can toggle inline code on selected text without a shortcut. This reuses the existing
BasicTextStyleButton; the inline code style itself is unchanged.Fixes #3367. Stacked on #3415.
Changes
Testing
Summary by CodeRabbit