Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.5.0, 1.6.0-beta1
-
Browser (and version): Firefox
Description
This issue only happens on Firefox.
I was not able to reproduce it either on Chrome or in Microsoft Edge.
Steps to Reproduce
-Open your browser developer tools
-Login into ezplatform as admin
-Choose a content of type folder
-In a richtext field, add an "embed" content and confirm
-Now, in the toolbar that appears in the embed block, click on "Select another content item" icon
-When the UDW appears, don't choose anything and click the "Cancel" button
-(don't click anywhere else) Hoover over the embed block (you see a yellow border)
-Now click on the embed block
The following js error appears on your browser developer tools
TypeError: this._getWidget(...) is null http://ezp.paulo/_ezcombo?/bundles/ezplatformui/js/alloyeditor/buttons/mixins/widgetbutton.js&/bundles/ezplatformui/js/alloyeditor/buttons/embed.js&/bundles/ezplatformui/js/alloyeditor/buttons/mixins/embedimage.js&/bundles/ezplatformui/js/alloyeditor/buttons/image.js&/bundles/ezplatformui/js/alloyeditor/buttons/imagevariation.js&/bundles/ezplatformui/js/alloyeditor/buttons/mixins/embedalign.js&/bundles/ezplatformui/js/alloyeditor/buttons/embedcenter.js&/bundles/ezplatformui/js/alloyeditor/buttons/embedright.js&/bundles/ezplatformui/js/alloyeditor/buttons/embedleft.js&/bundles/ezplatformui/js/alloyeditor/buttons/mixins/blocktextalign.js&/bundles/ezplatformui/js/alloyeditor/buttons/blocktextalignleft.js&/bundles/ezplatformui/js/alloyeditor/buttons/blocktextaligncenter.js&/bundles/ezplatformui/js/alloyeditor/buttons/blocktextalignright.js&/bundles/ezplatformui/js/alloyeditor/buttons/blocktextalignjustify.js&/bundles/ezplatformui/js/alloyeditor/buttons/blockremove.js&/bundles/ezplatformui/js/alloyeditor/buttons/embedhref.js Line 437