💄(app-impress) simplify the template builder

Remove some features from the template builder
that are not necessary for the MVP.
This commit is contained in:
Anthony LC
2024-04-18 16:52:05 +02:00
committed by Anthony LC
parent 75801bf95f
commit 964efe4c2f

View File

@@ -124,13 +124,26 @@ export const TemplateEditor = ({ template }: TemplateEditorProps) => {
</Box>
)}
<Box className="m-b" $css="margin-top:0;flex:1;" $overflow="auto">
<Box
className="m-b"
$overflow="auto"
$css={`
margin-top:0;
flex:1;
& .gjs-pn-panel.gjs-pn-options,
& .gjs-pn-panel.gjs-pn-views span[title='Settings'] {
display: none;
}
`}
>
<GjsEditor
grapesjs={grapesjs}
options={{
storageManager: {
type: 'remote',
},
showToolbar: false,
showDevices: false,
}}
plugins={[(editor) => pluginBlocksBasic(editor, {})]}
onEditor={onEditor}