Bug 36855

Summary: Replace legacy CodeMirror5 with Monaco Editor
Product: Koha Reporter: Michał <schodkowy.omegi-0r>
Component: Staff interfaceAssignee: Michał <schodkowy.omegi-0r>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, gmcharlt, paul.derscheid, phil
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Michał 2024-05-14 09:18:35 UTC
Current editor of code blocks with syntax highlighting that is CodeMirror in version 5 is considered legacy and not updated anymore. Syntax linting capabilities of JavaScript were last updated 5 years ago (for ES2019 standard max). The latest version 6.x would require rewriting all code, so might as well opt for the state-of-the-art Monaco Editor instead. This bug will track its addition, for now it's WIP.