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

fix note overlay

parent c28b1775
No related branches found
No related tags found
1 merge request!370fix note overlay
......@@ -19,7 +19,7 @@ const NoteContainer = styled.div`
position: relative;
`;
const WaxOverlays = ComponentPlugin('waxOverlays');
let WaxOverlays = () => true;
export default ({ node, view }) => {
const editorRef = useRef();
......@@ -34,6 +34,7 @@ export default ({ node, view }) => {
});
useEffect(() => {
WaxOverlays = ComponentPlugin('waxOverlays');
noteView = new EditorView(
{ mount: editorRef.current },
{
......
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