Skip to content

Code being inserted into campaigns

edited June 2023 in Troubleshooting

Any time I create a new Campaign, a bunch of code gets inserted into the campaign when I preview it:

') !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: 50% 50% !important; } .more-repos-link.is-loading { background-repeat: no-repeat !important; background-position: 50% 50% !important; background-size: 16px 16px !important; } auto-check .is-autocheck-loading { background-size: 16px 16px !important; background-position: 97% 50% !important; } /* Timeline Load More squiggly line / / https://github.com/go-gitea/gitea/pull/8346#issuecomment-638578779 / / https://github.com/swagger-api/swagger-ui/pull/6030#issuecomment-638412978 / .pagination-loader-container { background: transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NHB4IiBoZWlnaHQ9IjM0cHgiIHZpZXdCb3g9IjAgMCA0NCAzNCI+PHBvbHlsaW5lIGZpbGw9IiM0NDQiIHBvaW50cz0iMCwyMSAyMiw4IDQ0LDIxIDQ0LDI2IDIyLDEzIDAsMjYiLz48L3N2Zz4NCg==") repeat-x left center/22px 17px !important; } img[src="octocat-spinner"][width="128"] { padding: 64px !important; } img[src="octocat-spinner"][width="64"], .profile-picture-spinner img[src="/images/spinner.gif"] { padding: 32px !important; } img[src="octocat-spinner"][width="32"] { padding: 16px !important; } img[src="octocat-spinner"][width="16"] { padding: 8px !important; } .sponsors-questions::after { opacity: .35; } / remove code view padding / .Box-body.blob-wrapper { padding-top: 0 !important; padding-bottom: 0 !important; } / remove actions editor padding / form[action="/.github/workflows/"] .commit-create { padding-top: 0 !important; } #searchfield { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAMAAABFNRROAAAAM1BMVEUAAABKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkrmvr7+AAAAEXRSTlMAmEgOJpKQimpgRHVzVk8fFp8jXkwAAABRSURBVAjXVY1JDsAwCAMxhGxNl/+/toVEKpmLNcLCRJRqKTXRhOGwS4KyCCv8eoBnY1hkiIUgb6ah2THWly7SFS0uAKfZWm+mP59eUfNNgYdehjcBh7PIFcgAAAAASUVORK5CYII=") !important; background-repeat: no-repeat !important; background-position: 8px center !important; } /* front page: 'more' spinner / .ajax-pagination-form.loading .ajax-pagination-btn { position: relative !important; border-color: #343434 !important; background: #181818 !important; } .ajax-pagination-form.loading .ajax-pagination-btn::after { content:"" !important; position: absolute !important; width: 16px !important; height: 16px !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; } .branch-action-body .spinner, div.facebox-loading, .status-indicator-loading { background-position: center center !important; width: 100% !important; background-repeat: no-repeat !important; } /

I am on 6.0.6 and this happens even if there's no text in the body of my template at all.

Comments

  • Hi,

    One of your browser extension is inserting code into the WYSIWYG editor when you were editing your email (for example, ‘Grammarly', ‘Ad Blocker Ultimate', 'Adguard Adblocker', 'MetaMask', 'Microsoft Editor' browser extensions are known to do just that).

    1. Disable all extensions in your browser (you may try this convenient plugin) as one of your browser extensions is inserting redundant code into the WYSIWYG editor when you're creating or editing a campaign
    2. Or use a browser that has no extensions installed
    3. Then re-create your campaign (not just “Duplicate”, create a new campaign and write your message)

    If the issue goes away, then you'd need to track down this browser extension that inserts code into the WYSIWYG editor when you were creating/editing your campaign and disable it.

    Thanks.

    Best regards,
    Ben

This discussion has been closed.