diff --git a/src/qqq/components/databags/DataBagDataEditor.tsx b/src/qqq/components/databags/DataBagDataEditor.tsx index 8b7b115..08969f0 100644 --- a/src/qqq/components/databags/DataBagDataEditor.tsx +++ b/src/qqq/components/databags/DataBagDataEditor.tsx @@ -170,6 +170,7 @@ function DataBagDataEditor({title, dataBagId, data, closeCallback}: DataBagDataE theme="github" name="editor" editorProps={{$blockScrolling: true}} + setOptions={{useWorker: false}} onChange={updateCode} width="100%" height="100%" diff --git a/src/qqq/components/forms/DynamicFormField.tsx b/src/qqq/components/forms/DynamicFormField.tsx index 4e17725..e2fb6f8 100644 --- a/src/qqq/components/forms/DynamicFormField.tsx +++ b/src/qqq/components/forms/DynamicFormField.tsx @@ -111,6 +111,7 @@ function QDynamicFormField({ { setFieldValue(name, value, false); }} + setOptions={{useWorker: false}} width="100%" height="300px" value={value} diff --git a/src/qqq/components/scripts/ScriptDocsForm.tsx b/src/qqq/components/scripts/ScriptDocsForm.tsx index ab08fa7..b07836e 100644 --- a/src/qqq/components/scripts/ScriptDocsForm.tsx +++ b/src/qqq/components/scripts/ScriptDocsForm.tsx @@ -55,6 +55,7 @@ function ScriptDocsForm({helpText, exampleCode, aceEditorHeight}: Props): JSX.El theme="github" name={name} editorProps={{$blockScrolling: true}} + setOptions={{useWorker: false}} value={code} readOnly highlightActiveLine={false} diff --git a/src/qqq/components/scripts/ScriptEditor.tsx b/src/qqq/components/scripts/ScriptEditor.tsx index 2f9754f..5954da4 100644 --- a/src/qqq/components/scripts/ScriptEditor.tsx +++ b/src/qqq/components/scripts/ScriptEditor.tsx @@ -232,6 +232,7 @@ function ScriptEditor({title, scriptId, contents, closeCallback, tableName, fiel name="editor" editorProps={{$blockScrolling: true}} setOptions={{ + useWorker: false, enableBasicAutocompletion: true, enableLiveAutocompletion: true, }} diff --git a/src/qqq/components/widgets/misc/DataBagViewer.tsx b/src/qqq/components/widgets/misc/DataBagViewer.tsx index fbe47cb..b1ff735 100644 --- a/src/qqq/components/widgets/misc/DataBagViewer.tsx +++ b/src/qqq/components/widgets/misc/DataBagViewer.tsx @@ -337,6 +337,7 @@ export default function DataBagViewer({dataBagId}: Props): JSX.Element name={"viewData"} readOnly highlightActiveLine={false} + setOptions={{useWorker: false}} editorProps={{$blockScrolling: true}} width="100%" height="400px" diff --git a/src/qqq/components/widgets/misc/ScriptViewer.tsx b/src/qqq/components/widgets/misc/ScriptViewer.tsx index 28c9d20..6c7fee8 100644 --- a/src/qqq/components/widgets/misc/ScriptViewer.tsx +++ b/src/qqq/components/widgets/misc/ScriptViewer.tsx @@ -416,6 +416,7 @@ export default function ScriptViewer({scriptId, associatedScriptTableName, assoc readOnly highlightActiveLine={false} editorProps={{$blockScrolling: true}} + setOptions={{useWorker: false}} width="100%" height="400px" value={selectedVersionRecord?.values?.get("contents")} diff --git a/src/qqq/pages/records/view/RecordDeveloperView.tsx b/src/qqq/pages/records/view/RecordDeveloperView.tsx index f0152e8..b558a95 100644 --- a/src/qqq/pages/records/view/RecordDeveloperView.tsx +++ b/src/qqq/pages/records/view/RecordDeveloperView.tsx @@ -172,6 +172,7 @@ function RecordDeveloperView({table}: Props): JSX.Element theme="github" name="recordJSON" editorProps={{$blockScrolling: true}} + setOptions={{useWorker: false}} value={recordJSONString} readOnly width="100%" diff --git a/src/qqq/utils/qqq/ValueUtils.tsx b/src/qqq/utils/qqq/ValueUtils.tsx index 61d7c2b..f7fa71d 100644 --- a/src/qqq/utils/qqq/ValueUtils.tsx +++ b/src/qqq/utils/qqq/ValueUtils.tsx @@ -457,6 +457,7 @@ function CodeViewer({name, mode, code}: {name: string; mode: string; code: strin theme="github" name={name} editorProps={{$blockScrolling: true}} + setOptions={{useWorker: false}} value={activeCode} readOnly highlightActiveLine={false}