diff --git a/examples/06-custom-schema/06-toggleable-blocks/README.md b/examples/06-custom-schema/06-toggleable-blocks/README.md
index 4bbaaa70e1..50c30fd9cd 100644
--- a/examples/06-custom-schema/06-toggleable-blocks/README.md
+++ b/examples/06-custom-schema/06-toggleable-blocks/README.md
@@ -1,6 +1,6 @@
# Toggleable Custom Blocks
-This example shows how to create custom blocks with a toggle button to show/hide their children, like with the default toggle heading and list item blocks. This is done using the use the `ToggleWrapper` component from `@blocknote/react`.
+This example shows how to create custom blocks with a toggle button to show/hide their children, like with the default toggle heading and list item blocks. This is done by setting `meta.collapsible` on the block spec, which `CollapsibleExtension` picks up.
**Relevant Docs:**
diff --git a/examples/06-custom-schema/06-toggleable-blocks/src/Toggle.tsx b/examples/06-custom-schema/06-toggleable-blocks/src/Toggle.tsx
index 244661f841..673c7ea468 100644
--- a/examples/06-custom-schema/06-toggleable-blocks/src/Toggle.tsx
+++ b/examples/06-custom-schema/06-toggleable-blocks/src/Toggle.tsx
@@ -1,5 +1,5 @@
import { defaultProps } from "@blocknote/core";
-import { createReactBlockSpec, ToggleWrapper } from "@blocknote/react";
+import { createReactBlockSpec } from "@blocknote/react";
// The Toggle block that we want to add to our editor.
export const ToggleBlock = createReactBlockSpec(
@@ -11,15 +11,12 @@ export const ToggleBlock = createReactBlockSpec(
content: "inline",
},
{
- render: (props) => (
- // The `ToggleWrapper` component renders a button on the left which
- // toggles the visibility of the block's children. It also adds a button
- // to add child blocks if there are none. By default, it uses local
- // storage to remember the toggled state based on the block ID, but you can pass a custom
- // `toggledState` prop to use a different storage mechanism.
-
Toggle List Item 1
-Toggle List Item 1
Check List Item 2
Toggle List Item 1
-Toggle List Item 1
Toggle List Item
-Toggle List Item
Toggle List Item
+Toggle Child
+Heading Child
+