Matt Gilman created NIFI-14173:
----------------------------------
Summary: Upgrade to Codemirror 6
Key: NIFI-14173
URL: https://issues.apache.org/jira/browse/NIFI-14173
Project: Apache NiFi
Issue Type: Sub-task
Components: Core UI
Reporter: Matt Gilman
Codemirror is currently leveraged throughout the different NiFi UIs.
* Editing Properties - supports a custom language mode for EL and Parameter
references
* Content Viewers
* Jolt Advanced UI
* etc
These all leverage Codemirror 5 which was distributed as UMD modules and
requires addon's (like language modes, etc) to be loaded in `main.ts`. This is
been problematic for when reusing shared components and styles and when they
are transitively referenced in unit tests. The migration to Codemirror 6 is
detailed here [1]. A possible Angular wrapper here [2].
[1] https://codemirror.net/docs/migration/
[2] https://github.com/acrodata/code-editor
--
This message was sent by Atlassian Jira
(v8.20.10#820010)