Skip to content

Commit 35823c4

Browse files
Fixed broken links (#618)
1 parent e93b5ff commit 35823c4

File tree

11 files changed

+21
-21
lines changed

11 files changed

+21
-21
lines changed

docs/pages/docs/advanced/real-time-collaboration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Let's see how you can add Multiplayer capabilities to your BlockNote setup, and
1111

1212
<img
1313
style={{ maxWidth: "300px", border: "1px solid gray" }}
14-
src="/img/features/collaboration.gif"
14+
src="/img/features/collaboration_light.gif"
1515
alt="text editing collaboration"
1616
/>
1717

docs/pages/docs/custom-schemas.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ However, you can extend BlockNote and create custom schemas to support your own
1212

1313
Blocks are the main elements of a document, such as paragraphs, headings, lists, etc.
1414

15-
- [Learn how to create custom blocks for your BlockNote editor](/docs/custom-schemas/blocks)
15+
- [Learn how to create custom blocks for your BlockNote editor](/docs/custom-schemas/custom-blocks)
1616

1717
## Custom Inline Content
1818

1919
Inline Content are elements that can be inserted inside a text block, such as links, mentions, tags, etc.
2020

21-
- [Learn how to create custom Inline Content for your BlockNote editor](/docs/custom-schemas/inline-content)
21+
- [Learn how to create custom Inline Content for your BlockNote editor](/docs/custom-schemas/custom-inline-content)
2222

2323
## Custom Styles
2424

2525
Text Styles are properties that can be applied to a piece of text, such as bold, italic, underline, etc.
2626

27-
- [Learn how to add custom Styles to your BlockNote editor](/docs/custom-schemas/styles)
27+
- [Learn how to add custom Styles to your BlockNote editor](/docs/custom-schemas/custom-styles)
2828

2929
## Creating your own schema
3030

@@ -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/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.
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.

docs/pages/docs/custom-schemas/custom-inline-content.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Defines the identifier of the custom inline content.
5656

5757
**`content`**
5858

59-
`styled` if your custom inline content should support [styled text content](/docs/editor-api/block-content#styled-text), `none` if not.
59+
`styled` if your custom inline content should contain [`StyledText`](/docs/editor-basics/document-structure#inline-content-objects), `none` if not.
6060

6161
_In the mentions demo, we want each mention to be a single, non-editable element, so we set it to `"none"`._
6262

docs/pages/docs/editor-basics/document-structure.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ type Block = {
3535

3636
`id:` The block's ID. Multiple blocks cannot share a single ID, and a block will keep the same ID from when it's created until it's removed.
3737

38-
`type:` The block's type, such as a paragraph, heading, or list item. For an overview of built-in block types, see [Default Blocks](/docs/editor-basics/default-content-types#default-blocks).
38+
`type:` The block's type, such as a paragraph, heading, or list item. For an overview of built-in block types, see [Default Blocks](/docs/editor-basics/default-schema#default-blocks).
3939

40-
`props:` The block's properties, which is a set of key/value pairs that further specify how the block looks and behaves. Different block types have different props - see [Default Blocks](/docs/editor-basics/default-content-types#default-blocks) for more.
40+
`props:` The block's properties, which is a set of key/value pairs that further specify how the block looks and behaves. Different block types have different props - see [Default Blocks](/docs/editor-basics/default-schema#default-blocks) for more.
4141

42-
`content:` The block's rich text content, usually represented as an array of `InlineContent` objects. This does not include content from any nested blocks. Read on to [Inline Content](/docs/editor-basics/content-structure#inline-content) for more on this.
42+
`content:` The block's rich text content, usually represented as an array of `InlineContent` objects. This does not include content from any nested blocks. Read on to [Inline Content](/docs/editor-basics/document-structure#inline-content) for more on this.
4343

4444
`children:` Any blocks nested inside the block. The nested blocks are also represented using `Block` objects.
4545

@@ -71,9 +71,9 @@ The `styles` property is explained below.
7171

7272
### Other types of Block Content
7373

74-
While most blocks use an array of `InlineContent` objects to describe their content (e.g.: paragraphs, headings, list items). Some blocks, like [images](/docs/editor-basics/default-content-types#image), don't contain any rich text content, so their `content` fields will be `undefined`.
74+
While most blocks use an array of `InlineContent` objects to describe their content (e.g.: paragraphs, headings, list items). Some blocks, like [images](/docs/editor-basics/default-schema#image), don't contain any rich text content, so their `content` fields will be `undefined`.
7575

76-
[Tables](/docs/editor-basics/default-content-types#table) are also different, as they contain `TableContent`. Here, each table cell is represented as an array of `InlineContent` objects:
76+
[Tables](/docs/editor-basics/default-schema#table) are also different, as they contain `TableContent`. Here, each table cell is represented as an array of `InlineContent` objects:
7777

7878
```typescript
7979
type TableContent = {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The hook takes two optional parameters:
4040

4141
`uploadFile`: A function which handles file uploads and eventually returns the URL to the uploaded file. Used for [Image blocks](/docs/editor-basics/default-schema#image).
4242

43-
`collaboration`: Options for enabling real-time collaboration. See [Collaboration](/docs/collaboration) for more info.
43+
`collaboration`: Options for enabling real-time collaboration. See [Real-time Collaboration](/docs/advanced/real-time-collaboration) for more info.
4444

4545
`schema` (_advanced_): The editor schema if you want to extend your editor with custom blocks, styles, or inline content [Custom Schemas](/docs/custom-schemas).
4646

docs/pages/docs/ui-components.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ path: /docs/ui-components
99

1010
BlockNote includes a number of UI Components (like menus and toolbars) that can be completely customized:
1111

12-
- [Block Side Menu](/docs/side-menu)
13-
- [Formatting Toolbar](/docs/formatting-toolbar)
14-
- [Suggestion Menus](/docs/suggestion-menus)
12+
- [Block Side Menu](/docs/ui-components/side-menu)
13+
- [Formatting Toolbar](/docs/ui-components/formatting-toolbar)
14+
- [Suggestion Menus](/docs/ui-components/suggestion-menus)
1515
{/* - Hyperlink Toolbar */}
16-
{/* - [Image Toolbar](/docs/image-toolbar) */}
16+
{/* - [Image Toolbar](/docs/ui-components/image-toolbar) */}

examples/02-ui-components/06-suggestion-menus-slash-menu-items/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In this example, we add an item to the Slash Menu, which adds a new block below
66

77
**Relevant Docs:**
88

9-
- [Changing Slash Menu Items](/docs/ui-components/slash-menu#changing-slash-menu-items)
9+
- [Changing Slash Menu Items](/docs/ui-components/suggestion-menus#changing-slash-menu-items)
1010
- [Getting Text Cursor Position](/docs/editor-api/cursor-selections#getting-text-cursor-position)
1111
- [Inserting New Blocks](/docs/editor-api/manipulating-blocks#inserting-new-blocks)
1212
- [Editor Setup](/docs/editor-basics/setup)

examples/02-ui-components/07-suggestion-menus-slash-menu-component/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ In this example, we replace the default Slash Menu component with a basic custom
66

77
**Relevant Docs:**
88

9-
- [Replacing the Slash Menu Component](/docs/ui-components/slash-menu#replacing-the-slash-menu-component)
9+
- [Replacing the Slash Menu Component](/docs/ui-components/suggestion-menus#replacing-the-suggestion-menu-component)
1010
- [Editor Setup](/docs/editor-basics/setup)

examples/02-ui-components/08-custom-ui/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ In this example, we replace the default Formatting Toolbar using a custom React
77
- [Formatting Toolbar](/docs/ui-components/formatting-toolbar)
88
- [Manipulating Inline Content](/docs/editor-api/manipulating-inline-content)
99
- [Hooks](TODO)
10-
- [Slash Menu](/docs/ui-components/slash-menu)
10+
- [Slash Menu](/docs/ui-components/suggestion-menus#slash-menu)
1111
- [Side Menu](/docs/ui-components/side-menu)
1212
- [Editor Setup](/docs/editor-basics/setup)

examples/05-custom-schema/01-alert-block/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ In this example, we create a custom `Alert` block which is used to emphasize tex
77
**Relevant Docs:**
88

99
- [Custom Blocks](/docs/custom-schemas/custom-blocks)
10-
- [Changing Slash Menu Items](/docs/ui-components/slash-menu#changing-slash-menu-items)
10+
- [Changing Slash Menu Items](/docs/ui-components/suggestion-menus#changing-slash-menu-items)
1111
- [Editor Setup](/docs/editor-basics/setup)

0 commit comments

Comments
 (0)