Skip to content

Commit

Permalink
Merge pull request #361 from ndusart/wrapper_full_width_bg
Browse files Browse the repository at this point in the history
support mj-wrapper with background-url and full-width
  • Loading branch information
artf authored Aug 21, 2024
2 parents d3b7394 + 14cdb3f commit c59ace8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default (editor: Editor, { coreMjmlModel, coreMjmlView }: ComponentPlugin

getChildrenSelector() {
if(this.model.getAttributes()['full-width']){
return 'table > tbody > tr > td > div > table > tbody > tr > td';
return 'table > tbody > tr > td > div table > tbody > tr > td';
}else
return 'table > tbody > tr > td';
},
Expand Down

0 comments on commit c59ace8

Please sign in to comment.