Commit Graph

10 Commits

Author SHA1 Message Date
Ran Luo
c4664546bd
fix: whole selection can not be canceled (#962)
* fix: whole selection can not be canceled

* add null check in clickCtrl
2019-04-23 23:41:55 +08:00
Ran Luo
0bc96c2436
fix: #926 summary element can not be click (#948) 2019-04-15 23:25:34 +08:00
Ran Luo
4e918503f4 feat: add front menu (#875)
* feat: add front menu

* update changelog

* feat: add short cut of paragraph edit

* fix location bug of submenu

* update checkbox style in editor

* update selected background color

* update KEYBINDINGS.md

* Bullet to ordered list issue:

* emit change event after control paragraph

* fix: marked parse error

* disable table, front-matter and horizontal line in paragraph turn into, and fixed paragraph turn into html and math

* fix unwanted space before text paragraph when heading turn into text paragraph

* fix error when turn heading to paragraph

* put front menu on the left on front icon

* update readme

* if the selection span in two lnes, disable paragraph turn into heading
2019-04-07 16:16:49 +02:00
Ran Luo
739d31aa66 fix #625 (#799)
* style opti

* fix #625

* update changelog

* fix error when selection in not in edit area

* also fix double click front icon and error happen

* fix error when click front icons and toolbars of table

* rebase master

* update some codes

* null check in all selection.getCursorRange method

* add maskColor variable

* update roadmap, remove note features
2019-03-31 13:06:27 +02:00
Ran Luo
c0c8ea4b15 feat: open external link and local markdown file (#790)
* feat: open external link and local markdown file

* image view

* browse image by CmdOrCtrl + click

* use esc to close image viewer

* change image viewer z-index to prevent math render show on top of it

* support windows and linux
2019-03-24 13:20:43 +01:00
Felix Häusler
a77b9ab6f1 Allow pasting text into the code block language text-box (#598) 2018-12-09 11:25:00 +08:00
jocs
f3198ae1e4 fix: inline format error when use shift and arrow key to select words 2018-11-04 20:36:43 +08:00
Ran Luo
39e1ea8081
Prism replace codemirror (#516)
* feat: basic use of code block by prism

* opti: remove codemirror from muya

* feat: add highlight to math and frontmatter

* feat: import and export in math block, html block, frontmatter, code block

* update: paragraph ctrl

* feat: copy and paste in new math block and html block

* feat: update code block style in dark theme

* feat: search and replace in code block

* fix: update menu item status when selection changed

* opti: optimization of updateCtrl divide it into clickCtrl and inputCtrl

* opti: search and replace in code block when no lang selected

* opti: copy paste in code block

* feat: insert paragraph before or after code block

* opti: change emoji.js to emoji.json

* feat: auto indent in code block

* opti: auto indent in code block

* opti: remove the use of snabbdom-virtualize

* fix: do not show format float box in code block

* opti: emoji picker

* update: delete some unused codes

* update: electron

* use a temp prismjs2 instead of prismjs
2018-10-23 21:21:58 +08:00
jocs
42891ecd88 update: electron 2018-10-08 23:52:43 +08:00
Jocs
65da93f820 opti: extract click event into single file 2018-10-06 21:37:54 +08:00