How to Create Layout of image , text section on Adjacent sides using Dnd areas blockbody.
SOLVE
Hi All,
My sole intention is to create a layout of image , text inside a section which should be editable in Hubspot Website Pages from CLI Boilplate code. Seeking right approach to style this modules of image, text. if Tailwind is applicable to Style this HUBL Dnd_module. Hope I will be Happy to do so
My personal recommendation would be to go with the custom module approach since it will give you more flexibility but it has some drawbacks since modules are considered the smallest possible element for dnd. Therefore they don't support dnd(you can't place other dnd elements inside of them) and you can use them only in columns, sections and rows but not the other way round - unless you recreate the layout and functionality inside the module.
How to Create Layout of image , text section on Adjacent sides using Dnd areas blockbody.
SOLVE
where can i get better understanding of custom module approach. i couldnt get resource, sample code for its implementation with tailwind css. could you please me in implementation of custom module in Hubspot
My personal recommendation would be to go with the custom module approach since it will give you more flexibility but it has some drawbacks since modules are considered the smallest possible element for dnd. Therefore they don't support dnd(you can't place other dnd elements inside of them) and you can use them only in columns, sections and rows but not the other way round - unless you recreate the layout and functionality inside the module.