Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Nov 20, 2024
1 parent 6e5e67e commit 739eb79
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/public/r/styles/default/editor-ai.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"description": "An AI editor",
"files": [
{
"content": "import { PlateEditor } from '@/components/editor/plate-editor';\nimport { SettingsProvider } from '@/components/editor/settings';\n\nexport default function Page() {\n return (\n <div className=\"h-screen w-full\" data-registry=\"plate\">\n <SettingsProvider>\n <PlateEditor />\n </SettingsProvider>\n </div>\n );\n}\n",
"content": "import { Toaster } from 'sonner';\n\nimport { PlateEditor } from '@/components/editor/plate-editor';\nimport { SettingsProvider } from '@/components/editor/settings';\n\nexport default function Page() {\n return (\n <div className=\"h-screen w-full\" data-registry=\"plate\">\n <SettingsProvider>\n <PlateEditor />\n </SettingsProvider>\n\n <Toaster />\n </div>\n );\n}\n",
"path": "block/editor-ai/page.tsx",
"target": "app/editor/page.tsx",
"type": "registry:page"
Expand Down
4 changes: 4 additions & 0 deletions apps/www/src/__registry__/default/block/editor-ai/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Toaster } from 'sonner';

import { PlateEditor } from '@/registry/default/block/editor-ai/components/editor/plate-editor';
import { SettingsProvider } from '@/registry/default/components/editor/settings';

Expand All @@ -13,6 +15,8 @@ export default function Page() {
<SettingsProvider>
<PlateEditor />
</SettingsProvider>

<Toaster />
</div>
);
}
4 changes: 4 additions & 0 deletions apps/www/src/registry/default/block/editor-ai/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Toaster } from 'sonner';

import { PlateEditor } from '@/registry/default/block/editor-ai/components/editor/plate-editor';
import { SettingsProvider } from '@/registry/default/components/editor/settings';

Expand All @@ -13,6 +15,8 @@ export default function Page() {
<SettingsProvider>
<PlateEditor />
</SettingsProvider>

<Toaster />
</div>
);
}
4 changes: 4 additions & 0 deletions templates/plate-playground-template/src/app/editor/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Toaster } from 'sonner';

import { PlateEditor } from '@/components/editor/plate-editor';
import { SettingsProvider } from '@/components/editor/settings';

Expand All @@ -7,6 +9,8 @@ export default function Page() {
<SettingsProvider>
<PlateEditor />
</SettingsProvider>

<Toaster />
</div>
);
}

0 comments on commit 739eb79

Please sign in to comment.