mirror of
https://github.com/muerwre/markdown-home-tab.git
synced 2025-05-01 20:06:40 +07:00
added empty editor view and rich editor switch
This commit is contained in:
parent
3f81f6d3b3
commit
a08ebe2cbc
6 changed files with 82 additions and 17 deletions
|
@ -63,6 +63,7 @@ const DefaultLayout = ({
|
|||
id: panelProps.api.id,
|
||||
title: panelProps.params.title,
|
||||
locked,
|
||||
startEditing: lock,
|
||||
})}
|
||||
</GridLayoutItemWrapper>
|
||||
);
|
||||
|
@ -81,7 +82,7 @@ export const GridLayout: FC<GridLayoutProps> = ({ component }) => {
|
|||
/>
|
||||
),
|
||||
}),
|
||||
[component]
|
||||
[component, persistLayout]
|
||||
);
|
||||
|
||||
return (
|
||||
|
|
|
@ -2,4 +2,5 @@ export interface GridLayoutComponentProps {
|
|||
id: string;
|
||||
title: string;
|
||||
locked: boolean;
|
||||
startEditing: () => void;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue