Обсуждения » Обсуждение сайта Greasy Fork

Suggestion: syntax-highlighting source editor to be enabled by default when posting/editing a script

§
Создано: 12.11.2015
Отредактировано: 12.11.2015

Suggestion: syntax-highlighting source editor to be enabled by default when posting/editing a script

It's great that the site offers Ace editor's syntax highlighting when posting a new or editing an existing script. It's so useful.

I'd suggest that the syntax highlighting to be enabled by default
(i.e. it's checkbox to be checked by default).
Or, add it as a preference in "edit account".

Thank you


PS. I currently use this userscript in order to achieve this:

setTimeout(function(){
    document.querySelector('#enable-source-editor-code').click();
}, 50);

Ответить

Войдите, чтобы ответить.