https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21582
--- Comment #6 from Andrew Isherwood <[email protected]> --- Thinking about this a bit more, it would need additions to the koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/*.pref files to indicate that CodeMirror needs to be attached to the resulting textarea and what format it should be set to, so perhaps something like this in the .pref files: editor_format: css This could be tested for in the template iterator that generates the list of preferences, and a semantically meaningless attribute could be added to the textarea element, such as: data-editor-format="css" This could then be used to determine which elements need CodeMirror attaching to them and what it's formatting should be set to. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
