The latest @patternfly/react-code-editor
5.2.0 has a breaking change that makes downstream E2E fail
#772
Labels
@patternfly/react-code-editor
5.2.0 has a breaking change that makes downstream E2E fail
#772
Upgrading Hawtio to
@hawtio/react
1.0.4 (hawtio/hawtio#3227) exhibits the issue of incompatibility at@patternfly/react-code-editor
.Essentially, the issue is that the latest
@patternfly/react-code-editor
tries to load a script from an external CDN, which violates the CSP settings on the Hawtio standalone:This is caused by the breaking change made at
@patternfly/react-code-editor
:react-monaco-editor
with@monaco-editor/react
patternfly/patternfly-react#8578Actually,
@patternfly/react-code-editor
5.x is for PatternFly v5, and hawtio/react is so far based on PatternFly v4 yet, so, for the time being, what we need to do is just downgrade it to 4.x. But when we upgrade PatternFly v5 #477, we'd need to fix this issue too.The text was updated successfully, but these errors were encountered: