Save heading background color in form editor

[MAILPOET-2976]
This commit is contained in:
Rostislav Wolny
2020-06-22 16:24:25 +02:00
committed by Veljko V
parent 101f23b926
commit 6a669ad620
2 changed files with 7 additions and 0 deletions

View File

@@ -166,6 +166,11 @@ export const blocksToFormBodyFactory = (colorDefinitions, fontSizeDefinitions, c
block.attributes.textColor,
block.attributes.customTextColor
),
background_color: mapColorSlugToValue(
colorDefinitions,
block.attributes.backgroundColor,
block.attributes.customBackgroundColor
),
anchor: block.attributes.anchor || null,
class_name: block.attributes.className || null,
},