Announcement

Collapse
No announcement yet.

Editing the editor background

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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

    TalkNewsUK - My vBulletin 5.5.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Originally posted by Mark.B View Post
      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


      • #4
        Originally posted by Sean James View Post

        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

        TalkNewsUK - My vBulletin 5.5.2 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #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.

          https://vbmods.rocks/forum/vbulletin...b5-4-2-upgrade

          GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

          Comment


          • Glenn Vergara
            Glenn Vergara 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.

          • Glenn Vergara
            Glenn Vergara 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.

        • #6
          Originally posted by Glenn Vergara View Post
          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...
          X