Summary: | CodeMirror broken on additional_contents.tt | ||
---|---|---|---|
Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
Component: | Tools | Assignee: | Lucas Gass (lukeg) <lucas> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | andrew, jonathan.druart, kyle, nugged |
Version: | Main | Keywords: | rel_21_11_candidate |
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
22.05.00,21.11.02
|
|
Circulation function: | |||
Bug Depends on: | 29113 | ||
Bug Blocks: | |||
Attachments: |
Bug 29693: Make CodeMirror work again
Bug 29693: Make CodeMirror work again |
Description
Lucas Gass (lukeg)
2021-12-14 15:36:05 UTC
Created attachment 128513 [details] [review] Bug 29693: Make CodeMirror work again 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, you don't see line numbers or syntax highlighting 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. 8. Try 5 and 6 again but with Additional contents (News) instead of HTML customizations Initial step is: turn on UseWYSIWYGinSystemPreferences :) (In reply to Jonathan Druart from comment #2) > Initial step is: turn on UseWYSIWYGinSystemPreferences :) Nope, it's AdditionalContentsEditor=text! (In reply to Jonathan Druart from comment #3) > (In reply to Jonathan Druart from comment #2) > > Initial step is: turn on UseWYSIWYGinSystemPreferences :) > > Nope, it's AdditionalContentsEditor=text! Well, it's second step. I totally forgot about that group button. The syspref does not make sense then. Sorry for the noise! Created attachment 128540 [details] [review] Bug 29693: Make CodeMirror work again 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, you don't see line numbers or syntax highlighting 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. 8. Try 5 and 6 again but with Additional contents (News) instead of HTML customizations Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Trivial fix, skipping QA. Pushed to master for 22.05, thanks to everybody involved [U+1F984] Pushed to 21.11.x for 21.11.02 Missing dependency, not backported to 21.05.x |