Bug 29153: Fix CodeMirror textareas to work with all languages
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 15 Oct 2021 17:05:42 +0000 (17:05 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Oct 2021 07:38:24 +0000 (09:38 +0200)
commit1021b1dc887b61dcac2c02330cbd9269819b28ef
tree93eaa8eea9ccc87d970ab502f260a1b8a547653b
parent78db69fb569b0cf16656fcf092d8025df64fe943
Bug 29153: Fix CodeMirror textareas to work with all languages

To test:
1. Go to Tools > HTML customizations
2. Open or create a new entry with CodeMirror. ( Edit with text editor )
3. CodeMirror doesn't work, notice a console error.
4. Apply patch
5. Try steps 1 & 2 again. The CodeMirror editor should now load.
6. Make sure it works in both the Default and English(en) tabs.
7. BONUS: install some other language packs and look at the tabs for that language, it should still work.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt