copy & paste fixes

This commit is contained in:
Jan Prochazka
2020-05-20 18:29:41 +02:00
parent 2bf47dac80
commit 6df7743b4c
3 changed files with 56 additions and 36 deletions

View File

@@ -46,6 +46,13 @@ export default function SqlEditor({
};
}, [onKeyDown]);
// React.useEffect(() => {
// if (currentEditorRef.current.editor)
// currentEditorRef.current.editor.setOptions({
// showGutter: false,
// });
// }, []);
return (
<Wrapper ref={containerRef}>
<AceEditor