Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix editor mode

AykutSarac3cbdfeb09e6c
diff --git a/src/containers/JsonEditor/index.tsx b/src/containers/JsonEditor/index.tsx
index 7230fdcd..347fb30f 100644
--- a/src/containers/JsonEditor/index.tsx
+++ b/src/containers/JsonEditor/index.tsx
@@ -23,7 +23,6 @@ const aceOptions: IAceOptions = {
tabSize: 2,
showPrintMargin: false,
wrap: true,
- mode: "json",
};
const JsonEditor: React.FC = () => {
@@ -94,6 +93,7 @@ const JsonEditor: React.FC = () => {
<ErrorContainer error={error} setError={setError} />
<AceEditor
height="100%"
+ mode="json"
value={value}
onChange={setValue}
theme={editorTheme}