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

fix for layout

parent 93d8e6f4
No related branches found
No related tags found
1 merge request!85fix for layout
import { injectable } from "inversify";
import DefaultLayout from "wax-prosemirror-layouts/src/layouts/DefaultLayout";
import { DefaultLayout } from "wax-prosemirror-layouts";
import LayoutFactory from "./components/LayoutFactory";
@injectable()
......
......@@ -183,13 +183,6 @@ const CommentsContainer = styled.div`
height: 100%;
`;
const LeftSideBar = componentPlugin("leftSideBar");
const RightSideBar = componentPlugin("rightSideBar");
const TopBar = componentPlugin("topBar");
const NotesArea = componentPlugin("notesArea");
const CommentsArea = componentPlugin("commentsArea");
const WaxOverlays = componentPlugin("waxOverlays");
let surfaceHeight = 700;
let notesHeight = 50;
......@@ -221,6 +214,13 @@ const withNotes = () => {
};
const EditoriaLayout = ({ editor }) => {
const LeftSideBar = componentPlugin("leftSideBar");
const RightSideBar = componentPlugin("rightSideBar");
const TopBar = componentPlugin("topBar");
const NotesArea = componentPlugin("notesArea");
const CommentsArea = componentPlugin("commentsArea");
const WaxOverlays = componentPlugin("waxOverlays");
const { view: { main } } = useContext(WaxContext);
let AreasWithNotes = null;
......
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