<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 'Set as raw HTML' form option still includes external CSS on form embed in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Set-as-raw-HTML-form-option-still-includes-external-CSS-on-form/m-p/882866#M36810</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/666687"&gt;@hiscapness&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; I would suggest filing a support ticket. I'd provide them with a link to a page where they can reproduce the issue and the HS-provided embed code you are using. You might position it as wanting to know why the CSS from HubSpot is getting passed along. And not ask them to look at your code specifically.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you already did that, or if you get looped back here, please let me know, and I'll be happy to dig some more for us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2023 18:16:25 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-11-21T18:16:25Z</dc:date>
    <item>
      <title>'Set as raw HTML' form option still includes external CSS on form embed</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Set-as-raw-HTML-form-option-still-includes-external-CSS-on-form/m-p/882278#M36797</link>
      <description>&lt;UL&gt;&lt;LI&gt;hubspot form is set to 'set as raw HTML' (I have Marketing Hub Enterprise)&lt;/LI&gt;&lt;LI&gt;verified that the form is embedded on page not in an iframe&lt;/LI&gt;&lt;LI&gt;I'm still seeing a ton of included CSS at the top of the external page that contains form-related CSS&lt;/LI&gt;&lt;LI&gt;tried setting 'css: ""' in the form embed to ensure no HubSpot CSS included, does not work&lt;/LI&gt;&lt;LI&gt;WordPress site, but no HubSpot plugin installed in WordPress&lt;/LI&gt;&lt;LI&gt;how can I remove all HubSpot styles, period?&lt;/LI&gt;&lt;LI&gt;tested in Codepen.io by pasting just the embed code from HubSpot into the HTML section, verifying again that the option to 'Set as raw HTML' was checked in the editor&lt;UL&gt;&lt;LI&gt;Saw this in the source code&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="all the CSS included on the page with nothing but a form embed using raw html option" style="width: 597px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103635i34F878CBAA20DC8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="CleanShot 2023-11-20 at 16.30.25.png" alt="all the CSS included on the page with nothing but a form embed using raw html option" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;all the CSS included on the page with nothing but a form embed using raw html option&lt;/span&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I stepped through the code in v2.js that is included as part of the embed, and see this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2023-11-20 at 16.44.04.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103636i46CC3FCE7611050C/image-size/large?v=v2&amp;amp;px=999" role="button" title="CleanShot 2023-11-20 at 16.44.04.png" alt="CleanShot 2023-11-20 at 16.44.04.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, no matter what 'isRawlHtmlForm' is set to, CSS is included in the head. AFAIK, NONE of that CSS should be present on the page??? Do I have to manually detect and delete this on page load?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 21:48:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Set-as-raw-HTML-form-option-still-includes-external-CSS-on-form/m-p/882278#M36797</guid>
      <dc:creator>hiscapness</dc:creator>
      <dc:date>2023-11-20T21:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: 'Set as raw HTML' form option still includes external CSS on form embed</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Set-as-raw-HTML-form-option-still-includes-external-CSS-on-form/m-p/882866#M36810</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/666687"&gt;@hiscapness&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; I would suggest filing a support ticket. I'd provide them with a link to a page where they can reproduce the issue and the HS-provided embed code you are using. You might position it as wanting to know why the CSS from HubSpot is getting passed along. And not ask them to look at your code specifically.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you already did that, or if you get looped back here, please let me know, and I'll be happy to dig some more for us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 18:16:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Set-as-raw-HTML-form-option-still-includes-external-CSS-on-form/m-p/882866#M36810</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-11-21T18:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: 'Set as raw HTML' form option still includes external CSS on form embed</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Set-as-raw-HTML-form-option-still-includes-external-CSS-on-form/m-p/976090#M39033</link>
      <description>&lt;P&gt;we have the same issue, were you able to find a solution?&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 12:55:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Set-as-raw-HTML-form-option-still-includes-external-CSS-on-form/m-p/976090#M39033</guid>
      <dc:creator>KGoethals</dc:creator>
      <dc:date>2024-05-14T12:55:39Z</dc:date>
    </item>
  </channel>
</rss>

