Template Content – Salesforce Inspector – Auto Inserting Image Tags

Hopefully, you’ve found this looking for an answer to some weird functionality happening. We were saving a Template Content and Salesforce would auto insert some tags before saving. Below is the text it would insert.

<div id="insext">
<div accesskey="i" class="insext-btn" tabindex="0" title="Show Salesforce details (Alt+I / Shift+Alt+I)"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAPCAYAAADd/14OAAAA40lEQVQoz2P4//8/AzpWzGj6L59U/V8urgxMg/g4FUn6J/+X9E38LxWc8V8htR67IpCkuGfMfxCQjSpENRFFkXvk/1+/foGxQloDSD0DVkVfvnyBY7hCdEVv3rxBwXCFIIdKh2WDFT1+/BgDo1qd2fL/1q1bWDFcoW5xz3/Xppn/oycu/X/x4kUMDFeoWdD136R8wn+f9rlgxSdOnEDBKFajK96/fz8coyjEpnj79u1gjKEQXXFE/+L/Gzdu/G9WMfG/am4HZlzDFAf3LPwfOWEJWBPIwwzYUg9MsXXNFDAN4gMAmASShdkS4AcAAAAASUVORK5CYII=" /></div>
</div>
Which displays this image.

There is a bug report about this! It turns out, if you have the Salesforce Inspector Chrome plugin installed AND another plugin that clashes with inspector, you get this functionality in Salesforce whenever you edit a Rich Text field, which is using the CK Editor. The bug report has the issue happening when Salesforce Inspector is installed with Whatfix Editor. Our issue was happening with Salesforce Inspector installed with Dark Reader.

Solution

Disable one of the extensions. We’ve filed a bug report about this on the SF Inspector extension page on Google.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.