chore: fixed json syntax highlighting in codemirror

This commit is contained in:
Anoop M D 2022-01-26 03:06:46 +05:30
parent 2007ff3a67
commit 48f1d7119f

View File

@ -15,7 +15,7 @@ const QueryResult = ({data, isLoading, width}) => {
lineNumbers: true, lineNumbers: true,
matchBrackets: true, matchBrackets: true,
autoCloseBrackets: true, autoCloseBrackets: true,
mode: "application/json", mode: "application/ld+json",
foldGutter: true, foldGutter: true,
gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"], gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"],
lineWrapping: true lineWrapping: true