<?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: CSS Leak Bug on Rich Text 🐛🐛🐛🐛🐛 in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268740#M12138</link>
    <description>&lt;P&gt;I would say as a general rule you shouldnt style elements only. Well in most cases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;add a class or use a parent selector at least.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That being said hubspots styling should be pretty bullet proof, This happens when people style the button element directly iunstead of only styling the hs-button class instead.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And no it shouldnt.&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2019 00:59:29 GMT</pubDate>
    <dc:creator>Adesignl</dc:creator>
    <dc:date>2019-05-07T00:59:29Z</dc:date>
    <item>
      <title>CSS Leak Bug on Rich Text 🐛🐛🐛🐛🐛</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268485#M12116</link>
      <description>&lt;P&gt;CSS is leakin like a sieve. I am targeting&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;button&amp;gt;&lt;/PRE&gt;&lt;P&gt;with my css (using ::before and ::after), but it is leaking out all over the place in rich text editors. Probably happening elsewhere but this is the first place I've seen it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here's my button:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (2).png" style="width: 166px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/16972i00E93A5BDE74B815/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (2).png" alt="image (2).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now all the menus in rich text editors are getting styled:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (5).png" style="width: 388px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/16973i40E4C0254171DE12/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (5).png" alt="image (5).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (4).png" style="width: 315px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/16974iD3EFEBA61A7D17B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (4).png" alt="image (4).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (3).png" style="width: 549px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/16975iD0A660BB54F50C33/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (3).png" alt="image (3).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 23:47:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268485#M12116</guid>
      <dc:creator>douglaswelcome</dc:creator>
      <dc:date>2019-05-03T23:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Leak Bug on Rich Text 🐛🐛🐛🐛🐛</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268637#M12125</link>
      <description>&lt;P&gt;The inline editing captabilities within the hubspot CMS rely on the hubspot rich text UI rendering in the same frame as the website content itself.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;A good read on best practices to ensure your code works well inside the editor can be found here&amp;nbsp;&lt;A href="https://designers.hubspot.com/how-to-make-custom-code-work-with-cms" target="_blank"&gt;https://designers.hubspot.com/how-to-make-custom-code-work-with-cms&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 15:14:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268637#M12125</guid>
      <dc:creator>bronson</dc:creator>
      <dc:date>2019-05-06T15:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Leak Bug on Rich Text 🐛🐛🐛🐛🐛</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268657#M12130</link>
      <description>&lt;P&gt;It looks like the problem here might be that in your css you have targeted button tag which will style all button tags, you need to make sure your style is targeting that one specific element.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 17:39:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268657#M12130</guid>
      <dc:creator>Siyabonga</dc:creator>
      <dc:date>2019-05-06T17:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Leak Bug on Rich Text 🐛🐛🐛🐛🐛</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268662#M12131</link>
      <description>&lt;P&gt;Do you still need help with this?&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 18:40:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268662#M12131</guid>
      <dc:creator>Adesignl</dc:creator>
      <dc:date>2019-05-06T18:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Leak Bug on Rich Text 🐛🐛🐛🐛🐛</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268667#M12133</link>
      <description>&lt;P&gt;I understand why its happening...just opening up the discussion as to whether it should...&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 18:59:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268667#M12133</guid>
      <dc:creator>douglaswelcome</dc:creator>
      <dc:date>2019-05-06T18:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Leak Bug on Rich Text 🐛🐛🐛🐛🐛</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268740#M12138</link>
      <description>&lt;P&gt;I would say as a general rule you shouldnt style elements only. Well in most cases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;add a class or use a parent selector at least.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That being said hubspots styling should be pretty bullet proof, This happens when people style the button element directly iunstead of only styling the hs-button class instead.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And no it shouldnt.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 00:59:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CSS-Leak-Bug-on-Rich-Text/m-p/268740#M12138</guid>
      <dc:creator>Adesignl</dc:creator>
      <dc:date>2019-05-07T00:59:29Z</dc:date>
    </item>
  </channel>
</rss>

