Skip to content

Commit df12d86

Browse files
committed
MC-5691: Implement better developer error reporting
- Remove legacy function - Re-generate ts-errors.json
1 parent e74ef87 commit df12d86

File tree

3 files changed

+78
-138
lines changed

3 files changed

+78
-138
lines changed

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

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -575,21 +575,6 @@ export default class Preview {
575575
return hasDataChanges;
576576
}
577577

578-
/**
579-
* Retrieve the preview template
580-
*
581-
* @returns {string}
582-
*/
583-
private getPreviewTemplate() {
584-
const appearance = this.parent.dataStore.get("appearance") ?
585-
this.parent.dataStore.get("appearance").toString() : undefined;
586-
587-
return appearanceConfig(
588-
this.config.name,
589-
appearance,
590-
).preview_template;
591-
}
592-
593578
/**
594579
* Any hidden element should block drag / drop events from uploading images from the OS. We have to block this for
595580
* all elements as underlying elements could still receive the events if a parent is hidden.

0 commit comments

Comments
 (0)