Responsive editors. Fixes #10

This commit is contained in:
Sidharth Vinod
2020-12-18 17:40:49 +05:30
parent 0f934e6263
commit 76eacbf2b0
5 changed files with 34 additions and 6 deletions
+4
View File
@@ -80,3 +80,7 @@ export const initEditor = (monaco) => {
},
});
};
export const getResizeHandler = (editor) => {
return (node) => editor && editor.layout();
};