the title explains it all

  • BluePower
    link
    fedilink
    3
    edit-2
    8 months ago

    @ELPHANEIEJGUY Add [window.navigation.reload()] to the HTML or set it as a variable:

    reload = [window.navigation.reload(), ""]
    
    output  
     [reload]  
    

    If you want to make a button to do just that: \<button onclick="window.navigation.reload()"\>reload\</button\> (remove the backslashes)

    However, executing that will result in the preview state as if the code was unmodified, so you’ll have to click on the “reload” button for the preview to reload with the modified code.

    • VioneTM
      link
      English
      38 months ago

      You can also do location.reload() :)