1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How does TinyMCE get the popup iframe height?

Discussion in 'XenForo Questions and Support' started by CyberAP, Mar 9, 2011.

  1. CyberAP

    CyberAP Well-Known Member

    I have a problem with the TinyMCE iframe. It has a height of 750px in any iframe. I searched templates and didn't find anything for that.
    Also opened tiny_mce_popup.js and tiny_mce.js but didn't understand anything because I'am not familiar with js.
    Here is what I get:
  2. Brogan

    Brogan XenForo Moderator Staff Member

    That is more than likely linked to a template/css change you've made elsewhere.
    Have you got a link to your site?

    The actual code for that is:
    <div id="mce_2" class="editorInlinePopup" style="width: 355px; height: 127px; top: 1080px; left: 783px; z-index: 300001;">
    Check the contents of editor_ui.css to see if anything has been set in there.
  3. Mike

    Mike XenForo Developer Staff Member

    It's detected after the popup loads. I suspect you have a min-height somewhere.
    Brogan and CyberAP like this.
  4. CyberAP

    CyberAP Well-Known Member

    I know and in my case the height is 750 px.

    Yeah, you're right! It was in body. Thanks!

Share This Page