<?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 Prevent editing in content editors in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Prevent-editing-in-content-editors/m-p/293342#M13716</link>
    <description>&lt;P&gt;Modules where "Prevent editing in content editors" is toggled are now showing in the content editor.&amp;nbsp; For example, I now see modules like the "Horizontal Spacer" in the content editor. As they are not editable, it is difficult to understand why they're now shown in the content editor. It is very messy at the moment with useless modules to the editor being shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone found a workaround for hiding these modules in the content editor?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2019 06:49:08 GMT</pubDate>
    <dc:creator>dranreb</dc:creator>
    <dc:date>2019-09-26T06:49:08Z</dc:date>
    <item>
      <title>Prevent editing in content editors</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Prevent-editing-in-content-editors/m-p/293342#M13716</link>
      <description>&lt;P&gt;Modules where "Prevent editing in content editors" is toggled are now showing in the content editor.&amp;nbsp; For example, I now see modules like the "Horizontal Spacer" in the content editor. As they are not editable, it is difficult to understand why they're now shown in the content editor. It is very messy at the moment with useless modules to the editor being shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone found a workaround for hiding these modules in the content editor?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 06:49:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Prevent-editing-in-content-editors/m-p/293342#M13716</guid>
      <dc:creator>dranreb</dc:creator>
      <dc:date>2019-09-26T06:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent editing in content editors</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Prevent-editing-in-content-editors/m-p/293453#M13724</link>
      <description>&lt;P&gt;This is used a lot for, say, global content that you'd like to appear on the page but you don't want people changing at the page level. So I could have something like this at the bottom of my posts that I don't necessarily want to hide:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shows a module that cannot be edited on the page" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/20166i5B5265D4D130DA8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Prevent editing in content editors.jpg" alt="Prevent editing in content editors.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want these visible at all, what you could do is set a class "hide-in-content-editor" on modules you'd like to hide and then use the editor's body class "hs-inline-edit" to hide that. So something like:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;.hs-inline-edit .hide-in-content-editor { display: none; }&lt;/PRE&gt;
&lt;P&gt;Or maybe hide the specific module on the modules sidebar using "hs-inline-edit" and the module ID?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shows the module sidebar and the module CSS IDs" style="width: 728px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/20168i07DD671A58086379/image-size/large?v=v2&amp;amp;px=999" role="button" title="Hide module.jpg" alt="Hide module.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I haven't used it for this specifically but I've used the opposite to display elements in the editor that I don't want visible elsewhere (like an "Edit this module" button that's set to not display by default but set to block on the .hs-inline-edit page).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Stephanie O'Gay Garcia&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;HubSpot CMS Design &amp;amp; Development&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.stephanieogaygarcia.com?utm_source=HubSpotCommunity" target="_blank"&gt;Website&lt;/A&gt; | &lt;A href="http://www.stephanieogaygarcia.com/contact?utm_source=HubSpotCommunity" target="_blank"&gt;Contact&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#32C43F"&gt;&lt;I&gt;If this helped, please mark it as the solution to your question, thanks!&lt;/I&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 15:20:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Prevent-editing-in-content-editors/m-p/293453#M13724</guid>
      <dc:creator>Stephanie-OG</dc:creator>
      <dc:date>2019-09-26T15:20:18Z</dc:date>
    </item>
  </channel>
</rss>

