Skip to content
Snippets Groups Projects
Commit dfedee81 authored by Christos's avatar Christos
Browse files

Merge branch 'fix-overlay' into 'master'

fix note overlay

See merge request !370
parents c28b1775 86275530
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