Community
    • Login

    Issues with the Preview HTML plugin

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    14 Posts 4 Posters 490 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Robk BlueR Offline
      Robk Blue @Robk Blue
      last edited by

      And this morning I woke up to my html previewer not working at all! Just a blank screen. I updated Notepad++, reinstalled the plugin, no dice.

      Are there any logs or debugging for plugins?

      rdipardoR 1 Reply Last reply Reply Quote 0
      • rdipardoR Offline
        rdipardo @Robk Blue
        last edited by

        [T]his morning I woke up to my html previewer not working at all! Just a blank screen.

        Sounds like an earlier reported issue.

        In addition to my suggestions in that thread, make sure the plugin version is 1.4.4, then open the About dialog to see what browser version is detected:

        image

        Are there any logs or debugging for plugins?

        Logging is only active when the plugin is built in debug mode. I don’t distribute debug DLLs because the additional instrumentation code usually gets flagged by virus scanners.

        1 Reply Last reply Reply Quote 0
        • Robk BlueR Offline
          Robk Blue @rdipardo
          last edited by

          @rdipardo said:

          @robk-blue, @lachlanmax

          In fact, internal anchors are navigable if the preview is being rendered by the WebView2 embedded browser — the default in current plugin versions, provided that Edge is installed on the PC and the NoEdge user option is not enabled.

          preview_html_v144_wv2_anchors.gif

          Additional questions/concerns can be posted here.

          I’m having trouble installing the 1.44 version you linked. It has no .dll file that Windows would use. What am I missing?

          rdipardoR 1 Reply Last reply Reply Quote 0
          • rdipardoR Offline
            rdipardo @Robk Blue
            last edited by rdipardo

            @Robk-Blue said:

            I’m having trouble installing the 1.44 version you linked.

            If your version of Notepad++ is at least 8.9.4, you can use the built-in Plugins Admin installer:

            plugin-list-v194.png

            It has no .dll file that Windows would use.

            If you’re talking about a ZIP archive you got from the plugin’s GitHub page, my guess is that some anti-virus program is putting the DLL in quarantine as soon as you extract it, or else the extracted DLL needs to be cleared of a Web origin designator:

            Remove MOTW

            Robk BlueR 1 Reply Last reply Reply Quote 0
            • Robk BlueR Offline
              Robk Blue @rdipardo
              last edited by Robk Blue

              @rdipardo
              My Notepad++ says it’s up to date at 8.9.3 and the Preview HTML plugin shows 1.4.3 as its version in Plugins Admin!

              And there’s part of the problem, your earlier link to ‘current plugin versions’ is different to the one just above (GitHub page) which has the DLL file. Sweet !

              Screenshot - 17_05_2026 , 12_41_07 PM.png

              OK, I downloaded it and manually installed 1.4.4. It’s working for the moment.

              Thanks a bunch.

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • PeterJonesP Offline
                PeterJones @Robk Blue
                last edited by

                @Robk-Blue said:

                My Notepad++ says it’s up to date at 8.9.3

                Notepad++ has actually released two versions since v8.9.3, they just haven’t been triggered for auto-update, so the Check For Updates won’t show them.

                See FAQ: Why Can’t I Just Say “Most Recent Version”

                Robk BlueR 1 Reply Last reply Reply Quote 0
                • Robk BlueR Offline
                  Robk Blue @PeterJones
                  last edited by

                  @PeterJones OK, I didn’t know that.

                  .8.9.4 and .5 both broke my PreviewHTML plugin, installing back to 8,9,3 fixed it. So, there you go.

                  1 Reply Last reply Reply Quote 0
                  • Robk BlueR Offline
                    Robk Blue
                    last edited by

                    Hi All,

                    I’m not sure what’s happening, but every morning when I open NP++ for the first time, PreviewHTML isn’t working. I tried reinstalling the plugin again, no fix.

                    Any suggestions?

                    rdipardoR 1 Reply Last reply Reply Quote 0
                    • rdipardoR Offline
                      rdipardo @Robk Blue
                      last edited by

                      @Robk-Blue said:

                      Any suggestions?

                      Usually the Notepad++ Debug Info dialog is the best place to start:

                      npp-debug-info.png

                      Click Copy debug info to clipboard and share the details in a new post.

                      Some plugin-specific things include:

                      • Is Microsoft Edge installed?

                      Launch PowerShell or the Command Prompt and enter:

                      reg query "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" /v Location
                      

                      Or simply launch File Explorer and try to locate this folder: C:\Program Files (x86)\Microsoft\EdgeWebView\Application

                      • Is your config.xml file trying to relaunch the preview panel automatically when Notepad++ starts up?

                      Go here for instructions on how to find out.

                      If you have a GitHub account, please consider posting your findings to the issue tracker I mentioned before.

                      Robk BlueR 1 Reply Last reply Reply Quote 0
                      • Robk BlueR Offline
                        Robk Blue @rdipardo
                        last edited by

                        @rdipardo said:

                        C:\Program Files (x86)\Microsoft\EdgeWebView\Application

                        Yes, Edge is installed and tested via your suggested queries.

                        What config.xml file are referring to?

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors