You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can add a code toggle button to the formatting toolbar by copying the default one and adding the <ToggledStyleButton editor={props.editor} toggledStyle={"code"} /> component to it. You can then replace the default formatting toolbar by following these docs: https://www.blocknotejs.org/docs/ui-elements#replacing-ui-elements.
I think it's a good idea to add an example for this in the docs, since it does take a few steps.
Is your feature request related to a problem? Please describe.
These is no inline code in the formattingToolbar.
Describe the solution you'd like
Could add the inline code in the formattingToolbar? Or how to achieve the feature with custom formatting toolbar?
The text was updated successfully, but these errors were encountered: