Community
    • 登入

    NppExport plugin - 'copy HTML to clipboard' does not work anymore

    已排程 已置頂 已鎖定 已移動 Notepad++ & Plugin Development
    16 貼文 14 Posters 10.9k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Rohan GopalR
      Rohan Gopal
      最後由 編輯

      Hi, I updated NotePad++ recently and now the NppExport plugin does not work correctly anymore (copy HTML to clipboard) … previously i could select text that was set to XML language (with colours etc.), and copy and paste this into word doc (with colours etc.) … now the same copy/paste does not have any colour etc.
      PLEASE advise soonest. thanks
      I am using Notepad++ v7.7 (64 bit), build time: 19 May 2019 13:05:35
      and using NppExport plugin v0.2.8

      1 條回覆 最後回覆 回覆 引用 3
      • James RinglandJ
        James Ringland
        最後由 James Ringland 編輯

        Similar experience with Notepad++ v7.7 (32 bit) using Export to HTML. It’s not putting in the tags. Reversion to 7.6.4 fixed issue for now.

        1 條回覆 最後回覆 回覆 引用 0
        • Frank OrellanaF
          Frank Orellana
          最後由 編輯

          Same here on 7.7, still works fine in 7.6.x, if you really have to, downgrade or switch to vscode to copy with format until this get resolved.

          1 條回覆 最後回覆 回覆 引用 0
          • PeterJonesP
            PeterJones
            最後由 編輯

            @Rohan-Gopal , @James-Ringland , @Frank-Orellana,

            The biggest change in Notepad++ v7.7 was the switch from Scintilla 3.56 to 4.1.4 as the underlying editor. My guess is that the drastic changes in Scintilla has messed up some existing plugins by changing some required calls to perform specific editor tasks. I thought I remembered a recent post giving more details, but cannot find it with a quick search.

            @Meta-Chuh ,

            Do you remember which post I’m vaguely remembering? Or do you have other insight , like whether my theory about the Scintilla changes as the cause of these users’ NppExport difficulty? Or is there something else that’s a more likely culprit?

            Meta ChuhM 1 條回覆 最後回覆 回覆 引用 2
            • Meta ChuhM
              Meta Chuh moderator @PeterJones
              最後由 編輯

              @PeterJones

              i think it was an @Ekopalypse post, but i’m not sure.
              i also have too little knowledge about the scintilla functions used by nppexport.
              and i do not have a clue why copy html to clipboard does not copy anything, while export to html as a file, at least saves the unhighlighted text.

              note: @chcg has nppexport at his repo, in case anyone want’s to have a look at the code, and/or contribute.

              best regards.

              1 條回覆 最後回覆 回覆 引用 2
              • Jon PeltierJ
                Jon Peltier
                最後由 編輯

                NppExport: ‘Copy RTF to Clipboard’ and ‘Export to RTF’ both maintain font name, size, and bold, but not font color.

                Rohan GopalR 1 條回覆 最後回覆 回覆 引用 2
                • Rohan GopalR
                  Rohan Gopal @Jon Peltier
                  最後由 編輯

                  @Jon-Peltier colour makes a HUGE difference in readability, so this hopefully gets fixed soon.

                  1 條回覆 最後回覆 回覆 引用 1
                  • Abhinav BhandawatA
                    Abhinav Bhandawat
                    最後由 編輯

                    Confirm. NppExport Plugin, doesnt work with both 32 bit & 64. bit Notepad++ Ver 7.7
                    Temporary solution: use the version 7.6.6 and everything works well.

                    1 條回覆 最後回覆 回覆 引用 0
                    • chcgC
                      chcg
                      最後由 編輯

                      Created release https://github.com/chcg/NPP_ExportPlugin/releases/tag/0.2.9.21 which is compatible with 7.6 and 7.7.

                      Gia JgarkavaG camill01C Carl WitthoftC 3 條回覆 最後回覆 回覆 引用 3
                      • Gia JgarkavaG
                        Gia Jgarkava @chcg
                        最後由 編輯

                        @chcg This works perfectly, Thanks!

                        1 條回覆 最後回覆 回覆 引用 0
                        • Rex ArulR
                          Rex Arul
                          最後由 編輯

                          Yes, mine is v.7.7.1 and had this problem, until, I downloaded this fix. It works like a charm (as it used to before).

                          1 條回覆 最後回覆 回覆 引用 0
                          • camill01C
                            camill01 @chcg
                            最後由 編輯

                            @chcg Awesome! Thanks so much!

                            1 條回覆 最後回覆 回覆 引用 0
                            • Aman S. AnejaA
                              Aman S. Aneja
                              最後由 編輯

                              Hi @chcg,

                              Works like a charm.

                              When are you going to release it through the Plugin Manager?

                              Regards,
                              Aman

                              1 條回覆 最後回覆 回覆 引用 0
                              • Eric OsmanE
                                Eric Osman
                                最後由 編輯

                                Yes, it works great! Would be wonderful if it just plain worked in notepad++ without having to expand the zip, copy the nppexport.dll to my notepad++/plugins/nppexport folder, and restart notepad++. Any chance of that happening soon? Thanks. /Eric 29-aug-2019

                                1 條回覆 最後回覆 回覆 引用 0
                                • Carl WitthoftC
                                  Carl Witthoft @chcg
                                  最後由 編輯

                                  @chcg this new version does not appear to work with Npp ver 7.7, 32 bit, under Windows 10.

                                  chcgC 1 條回覆 最後回覆 回覆 引用 0
                                  • chcgC
                                    chcg @Carl Witthoft
                                    最後由 編輯

                                    @Carl-Witthoft What exactly is not working? Which version of the plugin do you use?

                                    Since https://github.com/notepad-plus-plus/nppPluginList/commit/c85225bb5272e8e0dc7f5e36ba1acfbdd7ff0fba -> tag 1.1.3 used by N++ 7.8.1 the plugin is avialable via the builtin pluginAdmin of N++.

                                    1 條回覆 最後回覆 回覆 引用 2
                                    • 第一個貼文
                                      最後的貼文
                                    The Community of users of the Notepad++ text editor.
                                    Powered by NodeBB | Contributors