Commit Graph

1039 Commits

Author SHA1 Message Date
Ran Luo
cea87da5d1 rebase marked #1515 (#1172) 2019-07-23 20:19:55 +02:00
Ran Luo
1a4844f889
fix: history operation(undo/redo) will not emit change events (#1161)
* fix: history operation(undo/redo) will not emit selection change and format change etc

* delete all content need emit changes event
2019-07-23 13:06:10 +08:00
Ran Luo
179f3d3355
Optimization search (#1138)
* add search results

* replace icons in sidebar

* feat: click setting icon to open setting window

* remove some ununsed codes

* fix: #1120
2019-07-23 11:21:14 +08:00
Ran Luo
37c4961ba5 opti: remove all content if selct all content (#1163) 2019-07-22 17:22:33 +02:00
Ran Luo
b925f7d637 fix: cut not work on mobile devices (#1162) 2019-07-22 17:22:24 +02:00
Ran Luo
be74673ad7 fix: #1158 (#1159) 2019-07-22 17:21:46 +02:00
Ran Luo
c2711eb846 fix: #1156 (#1157) 2019-07-22 17:16:26 +02:00
Ran Luo
c7a2735604 fix: #929 (#1122)
* fix: unexpected remove paragraph content when input by Chinese IME on Safari browser

* emit change event only when not composed and selection changed

* add some comments

* fix: #929

* dispatch change event after Enter event

* remove some codes
2019-07-22 17:14:53 +02:00
Ran Luo
7b7a942483
fix: should not nest math block into other math block (#1153) 2019-07-16 09:57:43 +08:00
Ran Luo
67e15b1642 fix: #1151 (#1152) 2019-07-16 00:25:38 +02:00
Ran Luo
b19ff4c212 fix-#1147 (#1148) 2019-07-16 00:25:28 +02:00
Ran Luo
04fead0165
update asios and fix #1121 (#1133)
* update asios and fix #1121

* remove unused codes
2019-07-04 11:14:15 +08:00
Felix Häusler
5f08b381e0 Adjust titlebar title when using native window (#1137)
* Adjust titlebar title when using native window

* Fix untitled tab e2e test
2019-07-04 10:52:51 +08:00
Ran Luo
9d458cf504
fix: screenshot error (#1126) 2019-07-04 10:46:54 +08:00
Alchemy
12958401af delete image triggers muya change (#1125) 2019-06-30 12:41:05 +08:00
Ran Luo
79f912332e
update deps (#1105)
* update deps

* update node version in CI file

* update node version in .babelrc

* update node version to 10

* update electron

* update karma-electron

* update element-ui etc

* update vega-embed etc

* update webpack-dev-server
2019-06-20 22:54:04 +08:00
Felix Häusler
72702427f1 Add ripgrep as find in files backend (#1086)
* Add ripgrep as find in files backend

* Fix API limit on Appveyor

* Fix css style

* support search and jump (#1)

* Style fixes
2019-06-20 22:46:24 +08:00
Felix Häusler
edf01b2e96 Opt-in uploader services and add legal notices (#1113)
* Opt-in uploader services and add legal notices

* Fix style
2019-06-20 16:22:26 +08:00
Ran Luo
67e1817688
fix: Enter multiple lines in Chinese (#1117) 2019-06-20 10:45:22 +08:00
Ran Luo
ee05052bc5
opti: table border color (#1116) 2019-06-18 17:39:40 +08:00
Felix Häusler
d7defe97dd
Allow to set editor line width and window zoom (#1092)
* Allow to set editor line width and window zoom

* Improve input text changed event

* Make textbox smaller
2019-06-16 15:39:02 +02:00
Ran Luo
47da3bd193 fix: #813 (#1111)
* fix: #813

* add one more para of exportHtml.generate

* remove debug codes
2019-06-16 15:38:14 +02:00
Ran Luo
165e8985b0 fix-#1037 (#1112) 2019-06-15 16:12:54 +02:00
Felix Häusler
0de196cc65 add: auto save with delay (#1093) 2019-06-14 22:16:19 +08:00
Felix Häusler
ddc99aa00e
refactor: main filesystem code (#1104) 2019-06-13 21:23:09 +02:00
Felix Häusler
1a92d2de1b Update documentation (#1103) 2019-06-12 11:37:06 +08:00
Ran Luo
b42b7fe9d7 fix: #1100 and #1101 (#1102)
* fix: #1100

* fix: #1101
2019-06-11 23:08:45 +02:00
Ran Luo
80e6a05acc Opti: image icon style (#1098) 2019-06-11 23:08:11 +02:00
Felix Häusler
b6d6b9fe74 fix watcher out of range exception (#1095) 2019-06-11 11:09:21 +08:00
Ran Luo
d838042543 feat: scroll to cursor when switch between tabs (#1089) 2019-06-10 18:41:24 +02:00
Ran Luo
d924b58623 fix: #752 (#1090) 2019-06-10 18:23:50 +02:00
Ran Luo
de17a920a8 Opti: update TOC if needed (#1088) 2019-06-10 18:23:23 +02:00
Ran Luo
7413c569f6 fix: TOC level error (#1087) 2019-06-09 16:22:41 +02:00
Ran Luo
ccccd6881d Fix: #1045 can not select all content in source code mode (#1085) 2019-06-09 15:44:39 +02:00
Felix Häusler
e6e652713a
Find best window to open second-instance files and directories in (#1054)
* Files via command-line are opened in the best window

* Don't show FSW changed notification while saving

* Fixed source-code mode setting and remove focus/typewritter option

* Simplify ignore list

* Fix invalid dialog parameter

* Fix invalid dialog parameter (2)

* Use async message box dialog

* Update documentation

* few changes

* Check timer before calling clearTimeout

* Improve switch style

* Fix style
2019-06-09 15:41:58 +02:00
Ran Luo
164e9a1d87
fix: insert image by image uploader, but can not copy and paste, because it is render the local url (#1070) 2019-06-07 12:31:18 +08:00
Ran Luo
d937fac09b fix: parse inline syntax error (#1072) 2019-06-06 21:49:49 +02:00
Ran Luo
2bfc3d59fe opti: insert last paragraph when the last block is table, code block or no-empty paragraph (#1069) 2019-06-06 21:44:10 +02:00
Ran Luo
f9d9061d9f opti: style of float box (#1067) 2019-06-06 21:26:20 +02:00
Felix Häusler
c364004325
docs: fix readme links (#1066)
[skip ci]
2019-06-06 21:19:33 +02:00
Felix Häusler
4dada5b84d
Drop support for portable Windows binary (#1065)
* Dropped support for portable Windows binary

* Update documentation
2019-06-05 21:39:23 +02:00
Ran Luo
bf39ae0e24 fix: unable to open link (#1063) 2019-06-04 17:07:53 +02:00
Ran Luo
446cec573f opti icon color in light theme (#1062) 2019-06-04 17:05:56 +02:00
Ran Luo
0cfe79fb07 fix: #1046 (#1048) 2019-05-29 00:04:40 +02:00
Ran Luo
c239e99f1b
Refactor inline image to support paste/drop image (#1028)
* feat: image setting

* opti: inline image

* add imageSelectAction

* remove axios from muya

* update image selector

* finish image selector ui

* add load success style

* delete image by click delete icon

* opti structure of image html

* handle arrow key

* enter to edit

* image preview by press space

* handle backspace when the previous element is image wrapper

* update codes for change another PC

* emable select all in input

* handle arrow and backspace key

* create a new paragraph after the last paragraph if its not empty

* handle backspace when the previous element is image wrapper

* handle enter event in image selector

* rewrite auto show image selector

* modify image folder

* copy file to folder

* select image

* handle paste image

* picgo

* guess image path from clipboard

* drag and drop image to Mark Text

* add github uploader

* remove unused codes

* remove unused codes

* rewrite image path auto complete

* support `path` imageInsertAction

* doc: add image uploader doc

* remove debug codes

* set init value in image uploader page

* fix typo

* remove unused codes

* drag web image to Mark Text

* add save notification

* opti uploading process

* fix did not close image selector bug

* check image content type when drag web link image

* fix: unable to preview relative path image.

* emit change event after paste/drop image

* add url map in image selector

* feat: screenshot and auto insert the screenshot image

* update error handler

* feat: use the native screencapture command line on macOs system

* opti: drop image

* fix: handle enter error when cursor is after a image

* fix: hasOwnProperty error

* remove debug codes

* fix: backspace when the previous ele is image

* fix: CI error and optimize some codes

* use hash of file path to generate the copied filename

* change default imageInsertAction to `path`

* fix: typo

* remove some unused codes and opti get image file name

* fix some bugs and opti codes

* update image edit icon

* romove screen capture on Linux and Windows

* fix: conflict

* fix error that can not insert image after the existed image or before existed image
2019-05-26 23:55:13 +08:00
Ran Luo
5b1cd85d95 fix: #1018 paste error when the lastblock is html block (#1042) 2019-05-25 16:20:07 +02:00
Ran Luo
630bc3f498
Update FUNDING.yml 2019-05-24 12:53:13 +08:00
Ran Luo
817e0721f0
Create FUNDING.yml (#1040) 2019-05-24 12:51:35 +08:00
Ran Luo
d06bf6db9d opti: add katex css only when there is math fomular in export html (#1038) 2019-05-23 21:15:59 +02:00
Ran Luo
9eff8248b4 feat: add two event focus and blur of muya (#1039) 2019-05-23 21:09:38 +02:00