EZP-25626: Add React.js to PlatformUI app and reuse it in Alloy Editor #534
EZP-25626: Add React.js to PlatformUI app and reuse it in Alloy Editor #534
Conversation
It's related to: ezsystems/PlatformUIAssetsBundle#12 |
ping @dpobel |
@dpobel I don't know why behat tests are failing. |
@@ -9,6 +9,4 @@ YUI.add('ez-alloyeditor', function (Y) { | |||
Y.namespace('eZ'); | |||
|
|||
Y.eZ.AlloyEditor = AlloyEditor; | |||
Y.eZ.React = Y.eZ.AlloyEditor.React; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing those lines is BC break, so we need to keep the definition of Y.eZ.React
and Y.eZ.ReactDOM
somehow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but we can deprecate and remove in v2 if needed
I guess you added a Maybe to avoid that, you could try to adopt a similar strategy as for the REST Client or AlloyEditor itself. Basically, you'll add a |
ping @dpobel |
https://jira.ez.no/browse/EZP-25626
Added React.js directly into main app template file:
shell.html.twig
.