Here’s my container or iframe for multiple plugin or link

...
  <div id="chatIframe4" style="width: 100%; height: 100%; overflow: auto; zoom: 0.55; border-radius: 0.25rem;" hidden>[image(settings.galleryOptions)]</div>
...

Only the [image(settings.galleryOptions)] would be stuck in initial load in color scheme; the [commentsPlugin(settings.defaultCommentOptions)] ; [settings.introMessage] ; perchance uploader or private gallery would sync with the gen theme toggle.

Before this I use long src url methods and it could have theme updated too!!

What’s the trick here?

  • RudBo@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    29 days ago

    Thanks! But it works, only briefly, in a test attempt yesterday😅

    I don’t know what magically things happened but it won’t work anymore.

    I even tried dumb methods like update(document.getElementById("chatIframe4"));

    maybe because there’s no galleryContentEl in the side panel code?

    the other main gallery using galleryContentEl got theme updated correctly.

    • VioneT@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      1
      ·
      29 days ago

      So… is there still a problem or are you just confirming that it works?

      If there is a problem, on my end it seems to work correctly, even the ‘open gallery’ from the generated image.

      • RudBo@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        29 days ago

        Sorry, I was saying if I wasn’t imagining things up then it once would work.

        But now it wound not work anymore; the side panel gallery in my gen would still be stuck in loadin color theme. Confirmed by different devices /browsers.