WordPress.org

Ready to get started?Download WordPress

Forums

javascript inside the tinyMCE iframe (1 post)

  1. phillipcc
    Member
    Posted 7 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic