# Issues with no\_wrapper=True

**URL:** <https://community.hubspot.com/t/issues-with-no-wrapper-true/110658>\
**Category:** CMS Development\
**Created:** [July 4, 2024, 1:57am UTC](https://community.hubspot.com/t/issues-with-no-wrapper-true/110658 "2024-07-04T01:57:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CBBentley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbbentley/32/203148_2.png) [@CBBentley](https://community.hubspot.com/u/CBBentley)\
**Post date:** [July 4, 2024, 1:57am UTC](https://community.hubspot.com/t/issues-with-no-wrapper-true/110658/1 "2024-07-04T01:57:03Z")

</div>

I am trying to use no\_wrapper=True to remove the default DIVS that are added to the header and single text modules.

I have done the following

Created a copy of the Header module and the single line of text module and added no\_wrapper=True

Example:

`{% text value="{{module.value}}" no_wrapper=True %}`

But the wrapper still shows up.

I then tried to add no\_wrapper=True to the module code in the HTML file but that caused the editable area to no longer be editable.

BTW. I am using a free sandbox. Don’t know if that is why its not working for me.

What am I doing wrong here? How can I get this work?

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [July 4, 2024, 11:03am UTC](https://community.hubspot.com/t/issues-with-no-wrapper-true/110658/2 "2024-07-04T11:03:41Z")

</div>

Hi @CBBentley

I just tried the same thing in my sandbox and it worked. Here is the [code](https://prnt.sc/Vc0hkwtFOYPX) and [result](https://prnt.sc/IEBv7HuH107c). It shouldn’t make any field noneditable.

“I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!”

---

<div class="post-metadata">

**Author:** ![CBBentley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbbentley/32/203148_2.png) [@CBBentley](https://community.hubspot.com/u/CBBentley)\
**Post date:** [July 5, 2024, 9:27pm UTC](https://community.hubspot.com/t/issues-with-no-wrapper-true/110658/3 "2024-07-05T21:27:34Z")

</div>

Hi Gaurav. Thank you. That code did work. But I want to know why in the hubspot system it says to use the code in the screenshot to add the module to an HTML/Hubl template.

 ![CBBentley_0-1720214451462.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/0/60d96dc8618fc062effa7becc96fd6d1f00025bd.png)

Hmmmm.. I looked up the tag you sent me. There are hubspot standard tags and hubspot modules. The text module is like the text tag.. I am so confused. When would one be used of the other?

Thank you for you help. I appriciate it.

---

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [July 8, 2024, 8:07pm UTC](https://community.hubspot.com/t/issues-with-no-wrapper-true/110658/4 "2024-07-08T20:07:10Z")

</div>

Hi @CBBentley, to properly answer you “I want to know why in the hubspot system it says to use the code in the screenshot to add the module to an HTML/Hubl template” question, could I please ask you what’s your end goal? What are you trying to do?

---

<div class="post-metadata">

**Author:** ![CBBentley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbbentley/32/203148_2.png) [@CBBentley](https://community.hubspot.com/u/CBBentley)\
**Post date:** [July 9, 2024, 9:17pm UTC](https://community.hubspot.com/t/issues-with-no-wrapper-true/110658/5 "2024-07-09T21:17:03Z")

</div>

Hi albertsg. I want to add a button module to a “not” drag and drop area. I also dont want it to have any added style/design tags. When I add the button using the supplied code from HubSpot and add “no\_wrapper=True” the module is not editable.

`{% module "module_17205595745931" path="@hubspot/button", label="button.module", no_wrapper=True %}`

How can I get this module to display and be editable?

---

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [July 10, 2024, 3:47pm UTC](https://community.hubspot.com/t/issues-with-no-wrapper-true/110658/6 "2024-07-10T15:47:53Z")

</div>

@CBBentley Adding the module just as you are showing should be enough, the key is the no\_wrapper=True property.  
I’ve just done a quick test with a custom module and works fine (not sure if it works with the default @hubspot modules).  
Question, where in the template file are you adding the module? Can you share the template HTML with us?
