{"id":1424,"date":"2022-04-19T20:31:49","date_gmt":"2022-04-19T20:31:49","guid":{"rendered":"https:\/\/morecpq.com\/?p=1424"},"modified":"2022-04-19T20:38:00","modified_gmt":"2022-04-19T20:38:00","slug":"template-content-salesforce-inspector-auto-inserting-image-tags","status":"publish","type":"post","link":"https:\/\/morecpq.com\/index.php\/2022\/04\/19\/template-content-salesforce-inspector-auto-inserting-image-tags\/","title":{"rendered":"Template Content &#8211; Salesforce Inspector &#8211; Auto Inserting Image Tags"},"content":{"rendered":"\n<p>Hopefully, you&#8217;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.<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:12px\"><code>&lt;div id=\"insext\">\n&lt;div accesskey=\"i\" class=\"insext-btn\" tabindex=\"0\" title=\"Show Salesforce details (Alt+I \/ Shift+Alt+I)\">&lt;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=\" \/>&lt;\/div>\n&lt;\/div><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"10\" height=\"15\" src=\"https:\/\/i0.wp.com\/morecpq.com\/wp-content\/uploads\/2022\/04\/download.png?resize=10%2C15&#038;ssl=1\" alt=\"\" class=\"wp-image-1426\"\/><figcaption>Which displays this image.<\/figcaption><\/figure>\n\n\n\n<p>There is a <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/sorenkrabbe\/Chrome-Salesforce-inspector\/issues\/177\" target=\"_blank\">bug report<\/a> 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 <a href=\"https:\/\/help.salesforce.com\/s\/articleView?id=release-notes.rn_general_ckeditor.htm&amp;type=5&amp;release=230\" target=\"_blank\" rel=\"noreferrer noopener\">CK Editor<\/a>.  The bug report has the issue happening when <a rel=\"noreferrer noopener\" href=\"https:\/\/chrome.google.com\/webstore\/detail\/salesforce-inspector\/aodjmnfhjibkcdimpodiifdjnnncaafh?hl=en\" target=\"_blank\">Salesforce Inspector<\/a> is installed with <a rel=\"noreferrer noopener\" href=\"https:\/\/chrome.google.com\/webstore\/detail\/whatfix-editor\/ohkeehjepccedbdpohnbapepongppfcj?hl=en-US\" target=\"_blank\">Whatfix Editor<\/a>.  Our issue was happening with <a rel=\"noreferrer noopener\" href=\"https:\/\/chrome.google.com\/webstore\/detail\/salesforce-inspector\/aodjmnfhjibkcdimpodiifdjnnncaafh?hl=en\" target=\"_blank\">Salesforce Inspector<\/a> installed with <a rel=\"noreferrer noopener\" href=\"https:\/\/chrome.google.com\/webstore\/detail\/dark-reader\/eimadpbcbfnmbkopoojfekhnkhdbieeh?hl=en-US\" target=\"_blank\">Dark Reader<\/a>.<\/p>\n\n\n\n<p><strong>Solution<\/strong><\/p>\n\n\n\n<p>Disable one of the extensions.  We&#8217;ve filed a bug report about this on the <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/salesforce-inspector\/aodjmnfhjibkcdimpodiifdjnnncaafh\/support\" target=\"_blank\" rel=\"noreferrer noopener\">SF Inspector extension page<\/a> on Google.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hopefully, you&#8217;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. There is a bug report about this! It turns out, if you have the Salesforce Inspector Chrome plugin installed AND &hellip;<br \/><a href=\"https:\/\/morecpq.com\/index.php\/2022\/04\/19\/template-content-salesforce-inspector-auto-inserting-image-tags\/\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">Template Content &#8211; Salesforce Inspector &#8211; Auto Inserting Image Tags<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1424","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/1424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/comments?post=1424"}],"version-history":[{"count":7,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/1424\/revisions"}],"predecessor-version":[{"id":1433,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/1424\/revisions\/1433"}],"wp:attachment":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/media?parent=1424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/categories?post=1424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/tags?post=1424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}