Examples
Browse through the examples below to see how to use and customize BlockNote.
Want to contribute? Copy the basic example on StackBlitz (opens in a new tab) and submit a PR.
Basic
Basic Setup
matthewlipski
Displaying Document JSON yousefed
Default Schema Showcase yousefed
Displaying Selected Blocks matthewlipski
Manipulating Blocks matthewlipski
Uploading Files matthewlipski
Saving & Loading yousefed
Basic Setup TODO matthewlipski
UI Components
Removing UI Elements
matthewlipski
Adding Formatting Toolbar Buttons matthewlipski
Adding Block Type Select Items matthewlipski
Adding Block Side Menu Buttons matthewlipski
Adding Drag Handle Menu Items matthewlipski
Adding Slash Menu Items yousefed
Replacing Slash Menu Component yousefed
Custom UI matthewlipski
Theming
Adding CSS Class to Blocks
matthewlipski
Changing Editor Font matthewlipski
Overriding CSS Styles matthewlipski
Overriding Theme CSS Variables matthewlipski
Changing Themes Through Code matthewlipski
Interoperability
Converting Blocks to HTML
matthewlipski
Parsing HTML to Blocks matthewlipski
Converting Blocks to Markdown yousefed
Parsing Markdown to Blocks yousefed