Merging this PR will fix #44
Furthermore, this PR is related to #17 (bullet lists in PowerPoint still don't work)
I tried pasting content from HTML pages (such as https://gist.github.com/rxaviers/7360908) and Word successfully.
Also, I pasted content from PowerPoint successfully, however - some features such as bullet lists didn't work while bold, italic etc. text worked properly.
I'd be delighted to see this PR being part of the upcoming version!
Thanks for your great work
At time of writing, HTML text pasted on windows isn't formatted. This PR will add support for pasting HTML content on windows with formatting enabled.
In order to provide said support, the
res/win32_get_clipboard_text_html.ps1
file was adjusted to extract the html source code from the clipboard as described in Microsoft's docs which can be found on the following page: https://docs.microsoft.com/en-us/windows/win32/dataxchg/html-clipboard-formatMerging this PR will fix #44 Furthermore, this PR is related to #17 (bullet lists in PowerPoint still don't work)
I tried pasting content from HTML pages (such as https://gist.github.com/rxaviers/7360908) and Word successfully. Also, I pasted content from PowerPoint successfully, however - some features such as bullet lists didn't work while bold, italic etc. text worked properly.
I'd be delighted to see this PR being part of the upcoming version! Thanks for your great work