[src/fields/modules.mjs ] Add spacing controls and background controls fields and remove the style group which contains the fields.
[src/modules/text.module/fields.mjs] Update fields json and add styles group to each module, which can be extended as per the requirement of the module. Like if we plan to use fields for slider controls, then we will add those fields in the modules.mjs and import them in this module styles group.
[src/fields/styles_macro.html] Create a macro that contains all required CSS for background and spacing fields.
[src/modules/text.module/module.html ] Update HTML code and import CSS macro for spacing and background styling.
Description
Our code was not meet our developer's requirements, so that is why I have updated it as per our standards and also tried to make this feature ready to use for our team.
Types of change
Description Our code was not meet our developer's requirements, so that is why I have updated it as per our standards and also tried to make this feature ready to use for our team.
Checklist