[Koha-bugs] [Bug 13829] Syntax highlighter on source code textareas

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 13 12:53:39 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13829

--- Comment #2 from Pablo AB <pablo.bianchi at gmail.com> ---
Thanks! I had already done it jQuery, but is better your choice:
$('#rep_guided_reports_start textarea#sql').css("font-family", "monospace" );

BTW, I thought jquery/plugins/jquery.highlight-3.js could help me, but is a
very basic highlight. Maybe we can use a better text highlighter jquery plugin
that do the full job (for both search and source code syntax highlight).

Also (and this could be another enhancement) I wonder if there is a good reason
why we don't have (AFAIK) a syspref to add anything to head HTML tag to both
opac and intranet. That's would let anyone to add their own jquery plugins.

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


More information about the Koha-bugs mailing list