Code being stripped
-
I have this code below, on a page, in the text mode of the editor (using Page Builder – so it’s a classic editor). This is to create a simple popup bubble with simple text in it. It works fine when originally added and tested, but any and all edits to the page content strips the function code part. onclick=”popFunction1()”
The full code is:
<span class=”popup” onclick=”popFunction1()”><span class=”pop-link”>1534</span> <span class=”popuptext” id=”link1534″>
Can you advise? Is there a work around to protect it from being stripped?
I have the function scripts for these simple popups in a header plugin, and that is working correctly. I think it’s the editor that is stripping the code.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Code being stripped’ is closed to new replies.