Add background color input style to styles settings
[MAILPOET-2599]
This commit is contained in:
committed by
Veljko V
parent
026a35fffb
commit
eadd6af544
@ -83,6 +83,7 @@ describe('Blocks to Form Body', () => {
|
||||
fullWidth: false,
|
||||
inheritFromTheme: false,
|
||||
bold: true,
|
||||
backgroundColor: '#aaaaaa',
|
||||
},
|
||||
},
|
||||
};
|
||||
@ -96,6 +97,7 @@ describe('Blocks to Form Body', () => {
|
||||
expect(inputWithCustomStyles.styles).to.eql({
|
||||
full_width: '0',
|
||||
bold: '1',
|
||||
background_color: '#aaaaaa',
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -132,6 +132,7 @@ describe('Form Body To Blocks', () => {
|
||||
const customTextStyles = {
|
||||
full_width: '0',
|
||||
bold: '1',
|
||||
background_color: '#ffffff',
|
||||
};
|
||||
|
||||
const map = formBodyToBlocksFactory(colorDefinitions, [customFieldText]);
|
||||
@ -147,6 +148,7 @@ describe('Form Body To Blocks', () => {
|
||||
fullWidth: false,
|
||||
inheritFromTheme: false,
|
||||
bold: true,
|
||||
backgroundColor: '#ffffff',
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user