mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 09:21:11 +10:00
refactor page editor
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import classes from '@/features/editor/styles/editor.module.css';
|
||||
import Editor from '@/features/editor/editor';
|
||||
import React from 'react';
|
||||
import { TitleEditor } from '@/features/editor/title-editor';
|
||||
import PageEditor from '@/features/editor/page-editor';
|
||||
|
||||
export interface FullEditorProps {
|
||||
pageId: string;
|
||||
@ -13,7 +13,7 @@ export function FullEditor({ pageId, title }: FullEditorProps) {
|
||||
return (
|
||||
<div className={classes.editor}>
|
||||
<TitleEditor pageId={pageId} title={title} />
|
||||
<Editor pageId={pageId} />
|
||||
<PageEditor pageId={pageId} />
|
||||
</div>
|
||||
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user