WordPress.org

Support

Support » Plugins and Hacks » javascript inside the tinyMCE iframe

javascript inside the tinyMCE iframe

  • phillipcc
    Member

    @phillipcc

    Hi evryone.
    I’m building a plugin for the tinyMCE witch adds a few buttons to it. Once I click does buttons it adds html code into tinyMCE iframe. At this point there’s no problem.

    The problem is when I add html into tinyMCE it loses the javascript onclick or/and onmouseover properties.
    This happens because I’m adding code inside a iframe, right? Is there a way to add code into the tinyMCE iframe preserving the javascript properties?

  • The topic ‘javascript inside the tinyMCE iframe’ is closed to new replies.