Home>Support>Possible bug: HTML-code removed from widget when editing

Possible bug: HTML-code removed from widget when editing

I need to have html in some of the widgets that I have on my site.

Example:

<a href="url">
<div>logo</div>
<div>text</div>
</a>

This code is inserted in the text editor and works great.

But when I edit the same widget again, it auto opens in visual editor and deletes the a-tags and replaces it with  .

Please let me know if this is a bug or if there are ways to avoid this.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Armand,

    You should add this HTML to a Custom HTML widget rather than a SiteOrigin Editor widget as the TinyMCE Editor will filter the first line and last line upon switching the mode.

  2. 6 years, 4 months ago armandg

    I managed to completely overlook that this was possible. Thanks for solving!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More