engine/view/styles/background
module
Functions
addBackgroundStylesRules( stylesProcessor ) → voidmodule:engine/view/styles/background~addBackgroundStylesRulesAdds a background CSS styles processing rules.
editor.data.addStyleProcessorRules( addBackgroundStylesRules );Copy codeThe normalized value is stored as:
const styles = { background: { color, repeat, position, attachment, image } };Copy codeNote: Currently only
'background-color'longhand value is parsed besides'background'shorthand. The reducer also supports only'background-color'value.Parameters
stylesProcessor : StylesProcessor
Returns
void