Bug 36855 - Replace legacy CodeMirror5 with Monaco Editor
Summary: Replace legacy CodeMirror5 with Monaco Editor
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Michał
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-14 09:18 UTC by Michał
Modified: 2024-05-15 01:36 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.