[Resolved] Text Editor Stripping Content?

Home Forums Support [Resolved] Text Editor Stripping Content?

Home Forums Support Text Editor Stripping Content?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1339181
    Daniel

    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.

    #1339244
    Daniel

    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.

    #1339257
    Leo
    Staff
    Customer Support

    Hi there,

    Are you referring to the tags description field?
    https://www.screencast.com/t/prae2WbVoS

    That’s all handled by WordPress and the theme doesn’t control the functionality.

    I believe it doesn’t allow HTML by default. Maybe something like this would help?
    https://en-ca.wordpress.org/plugins/allow-html-in-category-descriptions/

    #1339324
    Daniel

    Awesome! That worked.

    #1339325
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.