ROLE: For HubSpot Template Designers.
GOAL: Increase flexibility of the BETA COS.
VALUE: Speeds development time for template designers. Creates greater flexibility for the drag and drop interface, reducing the amount of custom code. Makes support easier.
THE PROBLEM: I've found, over the years, that a lot of time is spent overriding the default behavior of the wrapper code (divs and classes). In the current COS, you can use Custom HTML or HubL modules when you needed to create your own structure without wrappers. In the BETA COS, these modules are going away, which means you're forced to work with the drag and drop modules when you need to use modules that are not included in the Custom Module builder (like the Search Input module).
THE SOLUTION: If the wrapper code could be dropped on the drag and drop modules, it would make it much easier for building and styling global groups.
RECOMMENDED IMPLEMENTATION: In the BETA COS, there is an option under "Editor Options" to "Prevent editing in the content editor". It would be WONDERFUL, if a similar type of toggle switch could be added under "Styling Options" that would add the HubL token of no_wrapper=True to the module (which would drop all of the divs, spans, and classes that normally wrap around modules and groups).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.