Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 github 中给出的 userlist.html。但是颜色下拉菜单不会改变文本的颜色。其他一切都按预期工作。我也没有在控制台中收到任何错误。
PS:我正在使用带有firepad的codemirror。
任何帮助表示赞赏:)
问题是因为设置为 Javascript 的 codemirror 模式。因此它试图使用 javascript 的着色方案。