mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-14 16:51:07 +10:00
refactor layout
* ui polishing * frontend and backend fixes
This commit is contained in:
@ -10,12 +10,23 @@ export interface FullEditorProps {
|
||||
pageId: string;
|
||||
slugId: string;
|
||||
title: string;
|
||||
spaceSlug: string;
|
||||
}
|
||||
|
||||
export function FullEditor({ pageId, title, slugId }: FullEditorProps) {
|
||||
export function FullEditor({
|
||||
pageId,
|
||||
title,
|
||||
slugId,
|
||||
spaceSlug,
|
||||
}: FullEditorProps) {
|
||||
return (
|
||||
<div className={classes.editor}>
|
||||
<MemoizedTitleEditor pageId={pageId} slugId={slugId} title={title} />
|
||||
<MemoizedTitleEditor
|
||||
pageId={pageId}
|
||||
slugId={slugId}
|
||||
title={title}
|
||||
spaceSlug={spaceSlug}
|
||||
/>
|
||||
<MemoizedPageEditor pageId={pageId} />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user