Skip to content

Commit b20292a

Browse files
authoredJul 17, 2024
Fixed dead links (#936)
1 parent ca2f5de commit b20292a

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed
 

‎docs/pages/docs/custom-schemas.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ type MyPartialBlock = typeof schema.PartialBlock;
9696

9797
### Automatically override all default types (experimental)
9898

99-
Alternatively, the easiest way to get full type safety without any additional work is to override all default types with your custom schema, by using a custom type definition file. See this [example blocknote.d.ts](https://github.com/TypeCellOS/BlockNote/blob/main/examples/05-custom-schema/react-custom-styles/blocknote.d.ts.example). This is an experimental feature - we would love to hear your feedback on this approach.
99+
Alternatively, the easiest way to get full type safety without any additional work is to override all default types with your custom schema, by using a custom type definition file. See this [example blocknote.d.ts](https://github.com/TypeCellOS/BlockNote/blob/main/examples/06-custom-schema/react-custom-styles/blocknote.d.ts.example). This is an experimental feature - we would love to hear your feedback on this approach.

‎docs/pages/docs/editor-basics/setup.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The hook takes two optional parameters:
5858
The `useCreateBlockNote` hook is actually a simple `useMemo` wrapper around
5959
the `BlockNoteEditor.create` method. You can use this method directly if you
6060
want to control the editor lifecycle manually. For example, we do this in
61-
the [Saving & Loading example](/examples/basic/saving-loading) to delay the
61+
the [Saving & Loading example](/examples/backend/saving-loading) to delay the
6262
editor creation until some content has been fetched from an external data
6363
source.
6464
</p>

‎docs/pages/docs/ui-components/side-menu.mdx

-9
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,3 @@ You can also change the items in the Drag Handle Menu. The demo below adds an it
4646
<Example name="ui-components/side-menu-drag-handle-items" />
4747

4848
Here, we use the `SideMenu` component but keep the default buttons (we don't pass any children). Instead, we pass our customized Drag Handle Menu using the `dragHandleMenu` prop.
49-
50-
<div className="nx-mt-6 nx-leading-7 first:nx-mt-0">
51-
<small>
52-
<strong>Tip:</strong> The children you pass to the `DragHandleMenu` component
53-
should be default items (e.g. `RemoveBlockItem`) or custom items
54-
(`DragHandleMenuItem`). To see all the components you can use, head to the
55-
[Drag Handle Menu's source code](link).
56-
</small>
57-
</div>

‎examples/03-ui-components/02-formatting-toolbar-buttons/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ In this example, we add a blue text/background color and code style button to th
88

99
- [Changing the Formatting Toolbar](/docs/ui-components/formatting-toolbar#changing-the-formatting-toolbar)
1010
- [Manipulating Inline Content](/docs/editor-api/manipulating-inline-content)
11-
- [Hooks](TODO)
1211
- [Editor Setup](/docs/editor-basics/setup)

0 commit comments

Comments
 (0)