No color scheme for editor

#1 · closed · 5 comments

View on GitHub ↗

WebShapedBiz

Hi. This is a fantastic idea and most useful plugin. Unfortunately I'm unable to get color scheme to work, only white text on black background. Any help would be appreciated. You can my problem here: https://screencloud.net/v/E50W Cheers.

Comments

gergo85

Hi, Yes, it is a bug. Now I don't know, what the problem is. I hope I will solve it as soon as.

WebShapedBiz

Thank you @gergo85

jackyhuynh0407

I find out how to fix it just replace this ` modes = $.oc.codeEditorExtensionModes, ` on line 534 to ` modes = { css: "css", htm: "html", html: "html", js: "javascript", less: "less", md: "markdown", sass: "sass", scss: "scss", txt: "plain_text", yaml: "yaml", php: "php" }, ` in devtools/assets/october.cmspage.js and remove this `$this->addJs('/modules/backend/formwidgets/codeeditor/assets/js/build-min.js', 'core');` on line 62 in file devtools/controller/editor.php

gergo85

@jackyhuynh0407 Thank you so very much! :) I updated the plugin.

jackyhuynh0407

@gergo85 you are welcome, thanks for your plugin :)