Skip to content

Commit 93fad4f

Browse files
committed
PB-266: Video background for Slide
- Fix static tests
1 parent 6cd9f5a commit 93fad4f

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/banner/_default.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
height: 100%;
161161
left: 0;
162162
position: absolute;
163-
top:0;
163+
top: 0;
164164
width: 100%;
165165
z-index: 4;
166166
}

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/slide/_default.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
height: 100%;
185185
left: 0;
186186
position: absolute;
187-
top:0;
187+
top: 0;
188188
width: 100%;
189189
z-index: 4;
190190
}

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/banner/preview.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import $ from "jquery";
99
import $t from "mage/translate";
1010
import events from "Magento_PageBuilder/js/events";
1111
import mageUtils from "mageUtils";
12+
import {Editor} from "tinymce";
1213
import _ from "underscore";
1314
import "vimeoWrapper";
1415
import HideShowOption from "../../content-type-menu/hide-show-option";
@@ -29,7 +30,6 @@ import WysiwygFactory from "../../wysiwyg/factory";
2930
import WysiwygInterface from "../../wysiwyg/wysiwyg-interface";
3031
import {ContentTypeReadyEventParamsInterface} from "../content-type-events.types";
3132
import BasePreview from "../preview";
32-
import {Editor} from "tinymce";
3333

3434
/**
3535
* @api
@@ -134,6 +134,7 @@ export default class Preview extends BasePreview {
134134
);
135135
// @ts-ignore
136136
if (this.wrapper.jarallax && this.wrapper.jarallax.video) {
137+
// @ts-ignore
137138
this.wrapper.jarallax.video.on("started", () => {
138139
// @ts-ignore
139140
if (this.wrapper.jarallax && this.wrapper.jarallax.$video) {

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/slide/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default class Preview extends BasePreview {
137137
videoLazyLoading: (this.contentType.dataStore.get("video_lazy_load") as string) === "true",
138138
},
139139
);
140-
140+
// @ts-ignore
141141
if (this.wrapper.jarallax && this.wrapper.jarallax.video) {
142142
// @ts-ignore
143143
this.wrapper.jarallax.video.on("started", () => {

0 commit comments

Comments
 (0)