the title explains it all

  • BluePower@mastodon.social
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    6 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.