Skip to content

Commit a7e58ea

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents c8dfeaa + 3f9f97c commit a7e58ea

File tree

393 files changed

+8455
-8321
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

393 files changed

+8455
-8321
lines changed

.eslintrc.cjs

+22-23
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ module.exports = {
1616
'turbo',
1717

1818
'./config/eslint/bases/typescript.cjs',
19-
'./config/eslint/bases/regexp.cjs',
2019
'./config/eslint/bases/jest.cjs',
2120
'./config/eslint/bases/react.cjs',
2221
'./config/eslint/bases/tailwind.cjs',
@@ -43,28 +42,28 @@ module.exports = {
4342
project: true,
4443
},
4544
},
46-
{
47-
extends: ['plugin:@dword-design/import-alias/recommended'],
48-
files: ['apps/www/src/**/*'],
49-
rules: {
50-
'@dword-design/import-alias/prefer-alias': [
51-
'warn',
52-
{
53-
alias: {
54-
'@/__registry__': './apps/www/src/__registry__',
55-
'@/app': './apps/www/src/app',
56-
'@/components': './apps/www/src/components',
57-
'@/hooks': './apps/www/src/hooks',
58-
'@/lib': './apps/www/src/lib',
59-
'@/plate': './apps/www/src/lib/plate',
60-
'@/registry': './apps/www/src/registry',
61-
'@/styles': './apps/www/src/styles',
62-
},
63-
},
64-
],
65-
'import/no-relative-packages': 'off',
66-
},
67-
},
45+
// {
46+
// extends: ['plugin:@dword-design/import-alias/recommended'],
47+
// files: ['apps/www/src/**/*'],
48+
// rules: {
49+
// '@dword-design/import-alias/prefer-alias': [
50+
// 'warn',
51+
// {
52+
// alias: {
53+
// '@/__registry__': './apps/www/src/__registry__',
54+
// '@/app': './apps/www/src/app',
55+
// '@/components': './apps/www/src/components',
56+
// '@/hooks': './apps/www/src/hooks',
57+
// '@/lib': './apps/www/src/lib',
58+
// '@/plate': './apps/www/src/lib/plate',
59+
// '@/registry': './apps/www/src/registry',
60+
// '@/styles': './apps/www/src/styles',
61+
// },
62+
// },
63+
// ],
64+
// 'import/no-relative-packages': 'off',
65+
// },
66+
// },
6867
{
6968
files: filePatterns.test,
7069
rules: {

apps/www/content/docs/ai.mdx

+2-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: AI
33
description: AI menu with commands, streaming responses in a preview or directly into the editor.
44
docs:
55
- route: https://pro.platejs.org/docs/examples/ai
6-
title: AI Menu
6+
title: AI
77
---
88

99
<ComponentPreview name="playground-demo" id="ai" />
@@ -223,14 +223,7 @@ Refer to the preview above.
223223

224224
### Plate Plus
225225

226-
- Combobox menu with free-form prompt input
227-
- Additional trigger methods:
228-
- Block menu button
229-
- Slash command menu
230-
- Beautifully crafted UI
231-
232-
<ComponentPreviewPro name="pro-iframe-demo" id="pro-ai" component="ai" />
233-
226+
<ComponentPreviewPro name="ai-pro" />
234227

235228
## Plugins
236229

apps/www/content/docs/basic-elements.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ docs:
1414
title: Heading Element
1515
---
1616

17-
<ComponentPreview name="playground-demo" id="basicnodes" />
17+
<ComponentPreview name="playground-demo" id="basic-nodes" />
1818

1919
<PackageInfo>
2020

apps/www/content/docs/basic-marks.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ docs:
66
title: Mark Toolbar Button
77
---
88

9-
<ComponentPreview name="playground-demo" id="basicnodes" />
9+
<ComponentPreview name="playground-demo" id="basic-nodes" />
1010

1111
<PackageInfo>
1212

apps/www/content/docs/block-menu.mdx

+1-11
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,7 @@ Refer to the preview above.
8686

8787
### Plate Plus
8888

89-
- Open the menu via the drag button or the three-dot menu on specific blocks (e.g. images)
90-
- Includes a combobox that filters options as you type
91-
- Supports nested menu options
92-
- Advanced actions such as "Ask AI", colors, and commenting
93-
- Beautifully crafted UI
94-
95-
<ComponentPreviewPro
96-
name="pro-iframe-demo"
97-
id="pro-context-menu"
98-
component="context-menu"
99-
/>
89+
<ComponentPreviewPro name="context-menu-pro" />
10090

10191
## Plugins
10292

apps/www/content/docs/block-selection.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Block Selection
33
description: Select and manipulate entire text blocks.
44
---
55

6-
<ComponentPreview name="playground-demo" id="blockselection" />
6+
<ComponentPreview name="playground-demo" id="block-selection" />
77

88
<PackageInfo>
99

apps/www/content/docs/callout.mdx

+1-15
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ docs:
66
title: Callout Element
77
---
88

9-
<ComponentPreviewPro
10-
name="pro-iframe-demo"
11-
id="callout"
12-
component="callout"
13-
/>
14-
159
<PackageInfo>
1610

1711
## Features
@@ -59,15 +53,7 @@ Work in progress.
5953

6054
### Plate Plus
6155

62-
- Insert callouts using the slash command
63-
- Ability to change the callout emoji
64-
- Beautifully crafted UI
65-
66-
<ComponentPreviewPro
67-
name="pro-iframe-demo"
68-
id="callout"
69-
component="callout"
70-
/>
56+
<ComponentPreviewPro name="callout-pro" />
7157

7258
## Plugins
7359

apps/www/content/docs/components/ai-leaf.mdx

-77
This file was deleted.

apps/www/content/docs/components/ai-menu.mdx

-87
This file was deleted.

0 commit comments

Comments
 (0)