WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] AllowTransparency inside TinyMCE's iframe? IE Problem (2 posts)

  1. ynthrepic
    Member
    Posted 4 years ago #

    Hi there, I'm trying to get the TinyMCE iframe to appear transparent in IE. Firefox and other browsers respect:
    body { background: transparent; }
    in the content.css file, without the necessary addition of:
    <body allowtransparency="true">
    in the body of the iframe.

    Problem is I have a lot of difficulty with JavaScript (as in, I know next to zip), and when I open up tiny_mce.js to try and find where to insert the attribute, I find that all the linebreaks in the file have been removed.

    Basically if I'm to develop an alternative I need to be able to modify the HTML that TinyMCE is generating. Any ideas? Thanks in advance :).

  2. ynthrepic
    Member
    Posted 4 years ago #

    Solved my own issue. I had to open tiny_mce.js. Searched for iframe, and found an area where I could insert the attribute.

    The easiest way to do this is to open up your text editor and search for:
    frameBorder:"0",
    and directly after the comma add:
    allowTransparency:"allowTransparency",

    This solved my iframe transparency problems in IE.

Topic Closed

This topic has been closed to new replies.

About this Topic