Site logo

Archived topic

Text Editor Stripping Content?

4 replies · Started by Daniel on June 23, 2020

Viewing posts 1–5 of 5

Hey there. We have tag pages that present stock quotes to readers. Under the tag description on our old site, this is what we have for example:

<div class="qtool" data-qmod-tool="detailedquotetabchartnews" data-qmod-params="{&quot;symbol&quot;:&quot;ABT:CA&quot;}"></div>
<h2 style="text-align: center;">Articles including TSX:ABT</h2>

This will display a quote area with pricing info on the "symbol" I input, as well as display a heading and then the related posts. However, whenever I update the page, it's stripping it out so it looks like this:

<div class="qtool" data-qmod-tool="detailedquotetabchartnews"></div>
<h2 style="text-align: center">Articles including TSX:ABT</h2>

Is there any reason why it is stripping this out, and how can I go about fixing it? This is new to me, as my old Studiopress theme lets me input it as I like.

The weirdest thing is.... If I paste the whole code, and remove something then save, it doesn't strip it.

So for example, I'll past the code, but remove the H2 portion, doesn't strip it when I save.

Awesome! That worked.

No problem :)

This archived topic is closed to new replies.