• Resolved Supplement Genie

    (@supplementgenie)


    I have been tryin to add custom HTML to the Brand description pannel via the text tabI had a bit of trouble previously adding code to the category descriptions but I have since started using TinyMCE Advanced plugin which has been excellent.

    What I am trying works fine now with categorys -on my category page I currently show a full description on desktop and on mobile devices it shows a snippet with the option to “show more” I have tried to do the same with PWB using the code:-

    <div><input id=”post-1″ class=”read-more-state” type=”checkbox” />
        <div class=”read-more-wrap”>
            <h2>Heading 2</h2>
            <p>Main snippet.</p>
            <div class=”read-more-target”>
                <p>Additional Info.</p>
                <p>Additional Info 2.</p>
                <p>Additional Info 3</p>
            </div>
        </div>
        <label class=”read-more-trigger” for=”post-1″></label>
    </div>

    However, after saving, this gets stripped to:-

    <h2>Heading 2</h2>
    <p>Main snippet.</p>
    <p>Additional Info.</p>
    <p>Additional Info 2.</p>
    <p>Additional Info 3</p>

    Should the TinyMCE plugin not stop this happening? or is there someting in the PWB Plugin that is causing this? if so, is there a way to sort it?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding Custom HTML to Brand Description’ is closed to new replies.