Responsive editors. Fixes #10
This commit is contained in:
@@ -80,3 +80,7 @@ export const initEditor = (monaco) => {
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
export const getResizeHandler = (editor) => {
|
||||
return (node) => editor && editor.layout();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user