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

Not a Bug Custom CSS not working in TinyMCE popups

Discussion in 'Resolved Bug Reports' started by CyberAP, Mar 27, 2013.

  1. CyberAP

    CyberAP Well-Known Member

    If I have for example this code:

    <xen:require css="mycode.css" />
    in PAGE_CONTAINER template it works well. Except it doesn't work in TinyMCE iframes that use another CSS from XenForo. They link the same CSS but without anything that was added by user (xen:require css ignored).
    Slavik likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    Those templates don't use PAGE_CONTAINER. <xen:require /> does work in them though (we use it).
  3. CyberAP

    CyberAP Well-Known Member

    Is there any way to include CSS in TinyMCE frames?
  4. Mike

    Mike XenForo Developer Staff Member

    You just need to put your <xen:require css="x.css" /> line into each of the dialog templates.
    Slavik and CyberAP like this.

Share This Page