PricingBlog

Editor not loading elements

  • beameupskoti-1284334171912667187

    DameStJohn

    1 year ago

    Hey Team toddle @Andreas Møller @NoCode ProCode ! I'm experiencing a blank editor screen even though there are divs and components in my element tree. I've been careful to follow the structure of creating branches for this project. The page is pretty light as far as elements are concerned and I've still made several components that were working properly in the page before this issue happened. Not sure if this is an issue for everyone or just me.

    https://www.loom.com/share/b6839b6ed4a84cd7acdc32570fae8889
  • beameupskoti-1284347237786452000

    DameStJohn

    1 year ago

  • lucasg-1284355425390694472

    Lucas G

    1 year ago

    No custom actions going on right?
  • beameupskoti-1284366589529165836

    DameStJohn

    1 year ago

    Nope! No custom actions. Any solutions?
  • lucasg-1284367341211095175

    Lucas G

    1 year ago

    The toddle team will likely have to recover this one for you. Nothing stands out as an issue
  • Even opening it up as a new project seems to work fine so it's something with the branch
  • beameupskoti-1284371421899784263

    DameStJohn

    1 year ago

    I guess I need to branch more. Yeah, it’s pretty fresh (new) with barely anything in it so far.

    I appreciate you looking into for me 🙌🏽. I created a second branch (dev2) but it doesn’t have my updates so I really need dev1 recovered
  • tomthebigtree-1284373449619542091

    Tom Ireland

    1 year ago

    Any errors showing in the console if you open browser developer tools? I’ve had this before when something has gone awry with a component.
  • beameupskoti-1284373521534812173

    DameStJohn

    1 year ago

    Let me check
    👍1
  • beameupskoti-1284374020791341067

    DameStJohn

    1 year ago

    1284374020590010371-Screenshot_2024-09-13_at_9.43.33_PM.png
  • This is while im in the editor
  • But in preview it redirects to a 404 page
  • tomthebigtree-1284376930220638291

    Tom Ireland

    1 year ago

    I’m definitely not 100% but it looks like some kind of issue with styling. The error references className so it makes me wonder if there are any elements that have a class applied that are not set up correctly or got messed up. Also, are you loading any custom JS or anything like that?

    A 404 means something no longer exists. Did you perform any specific actions that you can remember just before it happened or did it load like that when you first edited the branch?
  • beameupskoti-1284378424323997787

    DameStJohn

    1 year ago

    I am loading some custom JS that’s currently still on the page (input OTP element). It was all working fine though so it’s a bit confusing. Didn’t get a chance to convert the JS into an action before the page failed.

    Outside of that I don’t remember performing any actions before the editor went black. The screen kind of glitched a bit and when it reloaded I couldn’t see any elements. I created the second branch (dev2) after everything happened to see what was preserved but the updates that I needed weren’t in that branch
  • tomthebigtree-1284385286297489478

    Tom Ireland

    1 year ago

    What happens if you temporarily remove the JS?
  • Also, anything reported in the issues panel?
  • beameupskoti-1284576621096996975

    DameStJohn

    1 year ago

    Hey @Tom Ireland ! I ended up rebuilding it from scratch. Something was defunct with the entire input OTP. It's working as expected now. Thanks again for looking into this for me. Have a great weekend brother
  • tomthebigtree-1284604376295673989

    Tom Ireland

    1 year ago

    Great news, @DameStJohn

    Thanks for the weekend well wishes. The same to you.