Greasy Fork is available in English.

Discussioni » Feedback di Greasy Fork

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

§
Pubblicato: 12/11/2015
Modificato: 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);
§
Pubblicato: 13/11/2015

Does any one have any objections to having it on by default? I was concerned it would be broken for certain scripts.

Pubblica risposta

Accedi per pubblicare una risposta.