From ce5e3df11ae9fcfd04ee68b0ffb48f5dee9b1873 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 31 Jan 2020 15:33:13 +0300 Subject: [PATCH] feat(admin-plugin): codemirror code improvements #211 --- .../admin/templates/partials/modules/codemirror.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/site/plugins/admin/templates/partials/modules/codemirror.html b/site/plugins/admin/templates/partials/modules/codemirror.html index f003f845..e2ffe7e4 100644 --- a/site/plugins/admin/templates/partials/modules/codemirror.html +++ b/site/plugins/admin/templates/partials/modules/codemirror.html @@ -19,11 +19,7 @@ mode: "application/x-httpd-php", {% endif %} indentWithTabs: false, - {% if registry.settings.admin_panel.theme == 'light' %} - theme: "elegant", - {% elseif registry.settings.admin_panel.theme == 'dark' %} - theme: "monokai", - {% endif %} + theme: "elegant", styleActiveLine: true });