How enable syntax error

hi i use ace in kibana but hi dont show my syntax in ace is this option


 <EuiCodeEditor
        mode="yaml"
        theme={chrome.getUiSettingsClient().get('theme:darkMode') ? 'dracula' : 'github'}
        width="100%"
        value={customValue}
        onChange={value => setCustomValue(value)}
        setOptions={{
          fontSize: '14px',
          enableBasicAutocompletion: true,
          enableSnippets: true,
          enableLiveAutocompletion: true,
          minLines: 20,
          maxLines: 200,
        }}
      />
      <EuiSpacer size="xxl" />
      <FinalButtons
        executeFunction={testOrSaveUpdate}
        loadingState={loadingState}
        createVisable={createVisable}
      />
    </>


        <EuiCodeEditor
          id={id}
          name={name}
          mode={mode}
          theme="github"
          value={getValue() || ''}
          isReadOnly={isReadOnly || false}
          isInvalid={error}
          onChange={this.handleChange}
          onBlur={this.handleBlur}
          width={fullWidth ? '100%' : undefined}
          className={className}
        />
      </EuiFormRow>
    );

Not sure which version of Kibana you are using, can you please elaborate on it . On 8.3.3 version, I do see the syntax errors.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.