securingsincity/react-ace
GitHub ã§èŠãDisable annotations (useWorker not working)
Open
#275 opened on 2017幎10æ2æ¥
Documentationbuggood first issuehelp wanted
Repository metrics
- Stars
- Â (3,859 stars)
- PR merge metrics
-  (30d ã« merged PR ã¯ãããŸãã)
説æ
Heyo ð I'm having trouble disabling the annotations. After searching through some issues, I've tried out the following:
<AceEditor
value={code}
mode="javascript"
theme="github"
showLineNumbers
readOnly
editorProps={{
$useWorker: false,
}}
setOptions={{
useWorker: false
}}
/>
As I understand it, setting either setOptions.useWorker or editorProps.$useWorker to false should disable annotations and linting entirely, but it just isn't working. Any ideas?
Thanks!