From: Matthias Schmidt Date: Thu, 10 Jun 2021 09:13:38 +0000 (+0200) Subject: Use Sass highlighter for CodeMirror Sass inputs X-Git-Tag: 5.5.0_Alpha_1~664^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b90512fbe59662d51a9f9a22b7cb49b66d0e5afb;p=GitHub%2FWoltLab%2FWCF.git Use Sass highlighter for CodeMirror Sass inputs --- diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index 3c08c8ccba..4e04f87ce5 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -1060,7 +1060,7 @@ - {include file='codemirror' codemirrorMode='text/x-less' codemirrorSelector='#individualScssCustom, #overrideScssCustom'} + {include file='codemirror' codemirrorMode='sass' codemirrorSelector='#individualScssCustom, #overrideScssCustom'} {event name='syntaxFieldsetsCustom'} @@ -1109,7 +1109,7 @@ - {include file='codemirror' codemirrorMode='text/x-less' codemirrorSelector='#individualScss, #overrideScss' editable=$isTainted} + {include file='codemirror' codemirrorMode='sass' codemirrorSelector='#individualScss, #overrideScss' editable=$isTainted} {event name='syntaxFieldsetsOriginal'} diff --git a/wcfsetup/install/files/acp/templates/styleGlobalValues.tpl b/wcfsetup/install/files/acp/templates/styleGlobalValues.tpl index 0f0c6976d8..a436ef179c 100644 --- a/wcfsetup/install/files/acp/templates/styleGlobalValues.tpl +++ b/wcfsetup/install/files/acp/templates/styleGlobalValues.tpl @@ -41,7 +41,7 @@ {/if} - {include file='codemirror' codemirrorMode='text/x-less' codemirrorSelector='#styles'} + {include file='codemirror' codemirrorMode='scss' codemirrorSelector='#styles'} {event name='sections'}