[Koha-bugs] [Bug 21582] Use CodeMirror for *UserJS & *UserCSS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 29 18:33:16 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21582

--- Comment #11 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Pablo AB from comment #10)
> On bug 13829 (2015) I was suggesting just syntax highlight. I would prefer
> just syntax highlight now than an overkill full editor on 2023.
> The suggestion was not only on *UserJS & *UserCSS but all textareas contain
> source code:
> 
> - Reports: SQL textareas
> - All sysprefs containing HTML, CSS and JS (AFAIK there is no JSON/YAML).
> 
> Probably a full editor is too much and unnecessary (more risk of
> compatibility issues...). For major work (with beautify and linting) I would
> work on a proper text editor.

CodeMirror is already in the codebase. The only difficulty is hooking the
initialization in the right templates... and adding the needed syntaxes support
(we only have it for SQL).

I asked for YAML support on bug 22584.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list