内置编辑器代码高亮问题
#5560
Replies: 1 comment
-
目前配置文件编辑器使用的是 vue-codemirror,支持高亮的语言库目前不包括 nginx 等。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
联系方式
No response
1Panel 版本
v1.10.10-lts
问题描述
内置编辑器代码高亮错误地将
/*
识别为注释的开始标记,导致/*
后面的所有内容都变灰了。重现步骤
如图所示。
不止这里,只要文件类型不支持
/* ... */
注释的配置文件,都会出现这个问题,比如 docker、openresty/nginx 的配置文件期待的正确结果
在配置文件中,
/*
不应该被识别为注释标记相关日志输出
No response
附加信息
Beta Was this translation helpful? Give feedback.
All reactions