Skip to content
Snippets Groups Projects
Commit 4d124a01 authored by chris's avatar chris
Browse files

add group

parent 6ef81d03
No related branches found
No related tags found
1 merge request!368Overlay
......@@ -66,7 +66,7 @@ const EditorContainer = styled.div`
`;
const TopBar = ComponentPlugin('topBar');
const WaxOverlays = ComponentPlugin('waxOverlays');
const NcbiLayout = ({ editor }) => (
<ThemeProvider theme={cokoTheme}>
<Wrapper>
......@@ -80,7 +80,6 @@ const NcbiLayout = ({ editor }) => (
</WaxSurfaceScroll>
</EditorArea>
</Main>
<WaxOverlays />
</Wrapper>
</ThemeProvider>
);
......
......@@ -68,7 +68,6 @@ const EditorContainer = styled.div`
`;
const TopBar = ComponentPlugin('topBar');
const WaxOverlays = ComponentPlugin('waxOverlays');
const NcbiLayout = ({ editor }) => (
<ThemeProvider theme={cokoTheme}>
......@@ -83,7 +82,6 @@ const NcbiLayout = ({ editor }) => (
</WaxSurfaceScroll>
</EditorArea>
</Main>
<WaxOverlays />
</Wrapper>
</ThemeProvider>
);
......
......@@ -151,7 +151,7 @@ const WaxView = forwardRef((props, ref) => {
const editor = (
<>
<div ref={setEditorRef} />
{context.activeViewId === 'main' && <WaxOverlays />}
{context.activeViewId === 'main' && <WaxOverlays group="main" />}
<WaxPortals />
</>
);
......
......@@ -197,7 +197,7 @@ export default ({ node, view }) => {
return (
<NoteContainer>
{NoteEditorContainerComponent}
{context.activeViewId === noteId && <WaxOverlays />}
{context.activeViewId === noteId && <WaxOverlays group="notes" />}
</NoteContainer>
);
};
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment