File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ export default class MjBody extends BodyComponent {
2727 'word-spacing' : 'normal' ,
2828 'background-color' : this . getAttribute ( 'background-color' ) ,
2929 } ,
30+ div : {
31+ 'word-spacing' : 'normal' ,
32+ 'background-color' : this . getAttribute ( 'background-color' ) ,
33+ } ,
3034 }
3135 }
3236
@@ -39,7 +43,7 @@ export default class MjBody extends BodyComponent {
3943 <body ${ this . htmlAttributes ( {
4044 id : this . getAttribute ( 'id' ) ,
4145 class : this . getAttribute ( 'css-class' ) ,
42- "background-color " : this . getAttribute ( 'background-color' ) ,
46+ "bgcolor " : this . getAttribute ( 'background-color' ) ,
4347 style : 'body' ,
4448 } ) } >
4549 ${ buildPreview ( preview ) }
@@ -50,6 +54,8 @@ export default class MjBody extends BodyComponent {
5054 role : 'article' ,
5155 lang,
5256 dir,
57+ "bgcolor" : this . getAttribute ( 'background-color' ) ,
58+ style : 'div' ,
5359 } ) }
5460 >
5561 ${ this . renderChildren ( ) }
You can’t perform that action at this time.
0 commit comments