Use Sass highlighter for CodeMirror Sass inputs
authorMatthias Schmidt <gravatronics@live.com>
Thu, 10 Jun 2021 09:13:38 +0000 (11:13 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 10 Jun 2021 09:13:38 +0000 (11:13 +0200)
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/acp/templates/styleGlobalValues.tpl

index 3c08c8ccbaa9df40fbd20d8fe75ae3402197b1cc..4e04f87ce5819966a2c870f7d31fa61d041ee5de 100644 (file)
                                                        </dd>
                                                </dl>
                                        </section>
-                                       {include file='codemirror' codemirrorMode='text/x-less' codemirrorSelector='#individualScssCustom, #overrideScssCustom'}
+                                       {include file='codemirror' codemirrorMode='sass' codemirrorSelector='#individualScssCustom, #overrideScssCustom'}
                                        
                                        {event name='syntaxFieldsetsCustom'}
                                </div>
                                        </dd>
                                </dl>
                        </section>
-                       {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'}
                        
index 0f0c6976d88c202accb149f1be27aebc0e9fe3ef..a436ef179c5ae27204e4ef75508d63bf0c492721 100644 (file)
@@ -41,7 +41,7 @@
                                </small>
                        {/if}
                </dl>
-               {include file='codemirror' codemirrorMode='text/x-less' codemirrorSelector='#styles'}
+               {include file='codemirror' codemirrorMode='scss' codemirrorSelector='#styles'}
        </div>
        
        {event name='sections'}