Beck
Beck
I'm having the same issue. Hopefully if they see more people are having this error, then they will look into it. ``` js import "ace-builds/src-noconflict/mode-python"; import "ace-builds/src-noconflict/theme-dracula";` //... // inside...
@tomercohen1210 Thank you, this solved the issue for me.
You can add a ref prop to the AceEditor Component using` ref={aceEditor}` and then you declare a useRef hook `aceEditor=useRef()`. Then you can access the original editor instance using `aceEditor.current.editor`....
You should be able to access it anywhere. For example, to use `getSelectedText()` I used ` onSelectionChange={onSelection}` prop on the ace editor and created an onSelection function. I was unable...