Building Editors for the Web
Beautifully designed. Copy and paste into your apps. Open Source.app/editor/page.tsx
import { Toaster } from 'sonner';
import { PlateEditor } from '@/components/editor/plate-editor';
import { SettingsProvider } from '@/components/editor/settings';
export function Page() {
return (
<div className="h-screen w-full" data-registry="plate">
<SettingsProvider>
<PlateEditor />
</SettingsProvider>
<Toaster />
</div>
);
}
app/editor/page.tsx
import { PlateEditor } from '@/components/editor/plate-editor';
export function Page() {
return (
<div className="h-screen w-full" data-registry="plate">
<PlateEditor />
</div>
);
}