18 Commits

Author SHA1 Message Date
Le Tan
632a007808 support copy as Web Editor 2018-01-10 21:24:31 +08:00
Le Tan
14df9e6e90 refine copy HTML logics 2018-01-10 10:39:45 +08:00
Le Tan
324d7cd444 VWebView: add css_color_mapping in palette file for copying HTMl
If the mapping is specified, we will replace the foreground color with
the mapping when the content is copied.
2018-01-05 19:36:40 +08:00
Le Tan
2f1971476d VMdEditor: support copy selected text as HTML 2018-01-04 13:27:42 +08:00
Le Tan
fffae253c5 VWebView: remove html in clipobard after copy image
When pasting in WeChat public account, if there is html with image data
in the clipboard, it could not recognize the image data.
2018-01-01 11:46:35 +08:00
Le Tan
c4d72183b5 VWebView: add Copy All without Background action 2017-12-29 18:25:19 +08:00
Le Tan
db73ab6dfd VWebView: fix img src after copied
Add config web/fix_img_src_when_copied to control the behavior.
2017-12-29 18:25:04 +08:00
Le Tan
7986ebe475 VWebView: alter copied Html in VWebView to paste correctly in OneNote 2017-12-28 22:19:39 +08:00
Le Tan
00d7f5e013 bug-fix: loop to setMimeData to clipboard in Windows 2017-12-28 19:26:43 +08:00
Le Tan
bbfc12ab18 add Chinese translations for QWebEngineView and QDialogButtonBox 2017-12-28 19:26:31 +08:00
Le Tan
d193cd28a5 refine context menu of VWebView
- Hide unused actions.
2017-12-27 20:36:03 +08:00
Le Tan
bda61a994c support overriding icon color in theme 2017-12-06 20:35:01 +08:00
Le Tan
3e7fa998ee bug-fix: retry to set clipboard after failure on Windows
On Windows, set data to clipboard may fail due to operating system's
design. We will repeatedly retry untin succeed.
2017-11-25 09:20:29 +08:00
Le Tan
8a6ce16db5 support drag and drop into edit area to open external files 2017-07-20 19:19:28 +08:00
Le Tan
33146efcd9 bug-fix: copying image/imageURl in read mode fails due to URL encoding on Windows 2017-07-05 11:37:29 +08:00
Le Tan
0131569c02 support exporting note as PDF file
TODO: Currently the exported PDF does not have the outline which is
needed to fix via third-party utils.
2017-05-22 22:34:53 +08:00
Le Tan
c642d60757 add SaveAndRead and DiscardAndRead to the context menu in edit mode 2017-04-22 11:43:26 +08:00
Le Tan
022d3ae2f7 add Edit to context menu in read mode to edit current note 2017-04-20 22:46:49 +08:00