Editing the editor background

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sean James
    Senior Member
    • Apr 2004
    • 478

    Editing the editor background

    Hello vBulletin!,

    I am having an issue with my editor box showing the body background image, there seems to be no stylevars that I can find and adding code to the additional.css does not seem to work.

    Code:
    .b-editor .cke_wysiwyg_frame, .b-editor .cke_wysiwyg_div {
        background-color: #fff !important;
        background-image: none !important;
    }
    Any help with be appreciated, Thanks!
    Bluepearl Skins - vBulletin 4 & 5 Skins
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    Probably best to wait for 5.4.4 which adds full stylevars for styling the editor. The beta is already available for testing.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Sean James
      Senior Member
      • Apr 2004
      • 478

      #3
      Originally posted by Mark.B
      Probably best to wait for 5.4.4 which adds full stylevars for styling the editor. The beta is already available for testing.
      Thanks for your response Mark, how long until 5.4.4 is out of beta?
      Bluepearl Skins - vBulletin 4 & 5 Skins

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #4
        Originally posted by Sean James

        Thanks for your response Mark, how long until 5.4.4 is out of beta?
        No dates are ever set, however in about a month is a reasonable estimate. Note this is not however a guarantee.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • glennrocksvb
          Former vBulletin Developer
          • Mar 2011
          • 4021
          • 5.7.X

          #5
          This isn't a 5.4.4 issue. Starting version 5.4.2, the css_additional.css which used to be not included in ckeditor iframe was finally added to the ckeditor iframe. This causes custom CSS defined for body selector for the main site to also get applied to ckeditor iframe body. This becomes visually obvious when you have background image or color set in the body selector.

          This was reported on my site and I posted my suggested solution there.


          Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

          Comment


          • glennrocksvb
            glennrocksvb commented
            Editing a comment
            But if you have body { background: url('back.png'); } in your css_additional template, then that background will also be applied in all ckeditor iframes.

          • Wayne Luke
            Wayne Luke commented
            Editing a comment
            That explicit issue was supposed to be resolved in 5.4.3.

          • glennrocksvb
            glennrocksvb commented
            Editing a comment
            Fleiding's forum version is 5.4.3 and he still had this issue and my suggested solution resolved it. Another one that got resolved is on vBCloud. Not sure about the OP Sean James what version he is using but he said my solution also fixed the issue for him.
        • Sean James
          Senior Member
          • Apr 2004
          • 478

          #6
          Originally posted by Glenn Vergara
          This isn't a 5.4.4 issue. Starting version 5.4.2, the css_additional.css which used to be not included in ckeditor iframe was finally added to the ckeditor iframe. This causes custom CSS defined for body selector for the main site to also get applied to ckeditor iframe body. This becomes visually obvious when you have background image or color set in the body selector.

          This was reported on my site and I posted my suggested solution there.

          https://vbmods.rocks/forum/vbulletin...b5-4-2-upgrade
          Thanks Glenn I will check it out!
          Bluepearl Skins - vBulletin 4 & 5 Skins

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...