feat: graphql mode for schema editor

This commit is contained in:
liyasthomas
2021-09-10 19:57:52 +05:30
parent 003400cfa8
commit fe6030140f
2 changed files with 3 additions and 3 deletions

View File

@@ -220,6 +220,7 @@ import {
setGQLURL,
setGQLVariables,
} from "~/newstore/GQLSession"
import "~/helpers/editor/modes/graphql"
function isTextFoundInGraphqlFieldObject(
text: string,
@@ -396,7 +397,7 @@ useCodemirror(
schemaString,
reactive({
extendedEditorConfig: {
mode: "application/ld+json",
mode: "graphql",
readOnly: true,
lineWrapping: linewrapEnabled,
},