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