File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
app/code/Magento/PageBuilder/view
adminhtml/web/ts/js/content-type/text Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export default class Preview extends BasePreview {
51
51
*/
52
52
private onFocus ( ) {
53
53
$ ( this . element ) . closest (
54
- this . config . additional_data . wysiwygConfig . parentSelectorsToUnderlay . join ( "," ) ,
54
+ this . config . additional_data . wysiwygConfig . parentSelectorsToUnderlay . join ( "," ) as string ,
55
55
) . css ( "z-index" , 100 ) ;
56
56
}
57
57
@@ -61,7 +61,7 @@ export default class Preview extends BasePreview {
61
61
*/
62
62
private onBlur ( ) {
63
63
$ ( this . element ) . closest (
64
- this . config . additional_data . wysiwygConfig . parentSelectorsToUnderlay . join ( "," ) ,
64
+ this . config . additional_data . wysiwygConfig . parentSelectorsToUnderlay . join ( "," ) as string ,
65
65
) . css ( "z-index" , "" ) ;
66
66
}
67
67
}
Original file line number Diff line number Diff line change @@ -42,7 +42,11 @@ define(['uiEvents'], function (uiEvents) {
42
42
* @returns {Boolean }
43
43
*/
44
44
trigger : function ( name , args ) {
45
- return uiEvents . trigger ( 'pagebuilder:' + name , args ) ;
45
+ // console.log(`START triggering pagebuilder:${name}`, args);
46
+ var result = uiEvents . trigger ( 'pagebuilder:' + name , args ) ;
47
+ // console.log(`DONE triggering pagebuilder:${name}`);
48
+
49
+ return result ;
46
50
}
47
51
} ;
48
52
} ) ;
You can’t perform that action at this time.
0 commit comments