You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/22 13:21:20 UTC

[GitHub] [apisix-dashboard] stu01509 commented on a change in pull request #1907: feat: Use monaco editor

stu01509 commented on a change in pull request #1907:
URL: https://github.com/apache/apisix-dashboard/pull/1907#discussion_r637403409



##########
File path: web/src/pages/Route/constants.ts
##########
@@ -165,14 +165,14 @@ export const DEBUG_BODY_TYPE_SUPPORTED: RouteModule.DebugBodyType[] = [
 ];
 
 // Note: codemirror mode: apl for text; javascript for json(need to format); xml for xml;
-export const DEBUG_BODY_CODEMIRROR_MODE_SUPPORTED = [
-  { name: 'JSON', mode: 'javascript' },
-  { name: 'TEXT', mode: 'apl' },
+export const DEBUG_BODY_MODE_SUPPORTED = [
+  { name: 'JSON', mode: 'json' },
+  { name: 'TEXT', mode: 'text' },

Review comment:
       LINE# 167 This comment may need to change or remove.
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org