• The mouseevents (onmousedown) event is removed from my HTML code by the editor. I am moving my site to WordPress but cannot add some basic functionality. I am not familiar with jquery as a solution tho this issue in a nother post. seems others are having the same issues but the topic is being closed without resolutions
    . I do not have access to FTP for the server nor admin functions to add and remove wysiwyg editor. So I am totally dependant on the functionality provided by WordPress.
    The original site is here https://presbylondon.ca/terms.php – click for answer to see the function

    my new page is here https://pccweb.ca/presbylondon/about-presbyterians/glossary/

    If I use Chrome Developer tools to add the event it works as expected so the script is there.

    Thanks in advance for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • jack randall

    (@theotherlebowski)

    there are limitations on what can be added code-wise in the content you create in order to avoid opening up a world of security hurt.

    any number of scripts can hijack sites, pollute servers and infect the machines of visitors. if there’s something you really need, some functionality that you desperately require then think about creating a plugin for it or creating a function to make it happen.

    you could even find the specific thing you’re looking to apply the effect to in the theme’s template files and add it into the code that outputs but i don’t think you’ll be able to add anything in the content editor.

    or try: https://www.ads-software.com/plugins/css-javascript-toolbox/screenshots/

    Thread Starter ibhola

    (@ibhola)

    I am not asking for scripts- I am asking for mouse events to not be stripped from HTML code. event/are not considered security risks. To asked web site developers to create a plugin for Standard w3c HTML code seems highly counterproductive and reduces the effectiveness of WP, IMHO

    jack randall

    (@theotherlebowski)

    it’s not a specific thing to wordpress, it’s the TinyMCE editor that sets the code rules. apparently it does this on other platforms.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML events removed by editor’ is closed to new replies.