Commit Graph

119 Commits

Author SHA1 Message Date
Tienson Qin
21b0d75dff enhance: don't display pull errors when deleting blocks 2021-05-28 22:57:48 +08:00
Tienson Qin
799d0a24f1 refactor: remove dummy block 2021-05-28 21:12:11 +08:00
Tienson Qin
5be004ebfe fix: content can be lost when auto-complete page references
Close #1937
2021-05-21 00:43:41 +08:00
Tienson Qin
ce14aede16 chore: remove unused file handler namespace import 2021-05-20 15:58:08 +08:00
Tienson Qin
a7e4140533 chore: simplify indent && outdent code 2021-05-19 09:56:35 +08:00
Tienson Qin
30f21c7bba refactor: clean code 2021-05-02 18:12:37 +08:00
Tienson Qin
b34be68137 feat: support both markdown headings and bullets 2021-04-28 20:13:54 +08:00
Tienson Qin
da74ad31a5 fix: don't save block when unmount caused by undo&&redo 2021-04-26 18:08:04 +08:00
Tienson Qin
45533ce77b Move to local bindings && events bus (#1686)
refactor: switch to global && local shortcuts

Also, use an events channel to decouple components and handlers
2021-04-25 09:43:18 +08:00
Tienson Qin
e09b777219 enhance: don't refresh when auto-save 2021-04-18 21:33:07 +08:00
Tienson Qin
2f808c14bf refactor: simplify editor timeout 2021-04-18 17:27:07 +08:00
Tienson Qin
50f92f7100 fix: undo cursor
Also, switched to a timeout instead of periodically saving the current block.
2021-04-14 17:33:16 +08:00
Tienson Qin
d1359c3418 fix: undo cursor 2021-04-12 18:23:03 +08:00
defclass
633705fd03 refactor(outliner): connecting bewteen ui and outliner 2021-03-31 16:50:42 +08:00
Tienson Qin
fa66ecc72c fix: raw file save not working 2021-03-08 22:18:47 +08:00
Tienson Qin
4e8f481a3f refactor: extract keybindings and handlers from the editor component 2021-03-02 15:37:22 +08:00
Tienson Qin
3d4eea435e chore: remove debugging code 2020-12-16 23:48:47 +08:00
Tienson Qin
1bf9f6dd97 feat: add more CodeMirror modes
Closed #929.
Also, fixed an issue that a following click will close the editing block.
2020-12-16 23:38:29 +08:00
Tienson Qin
6d89a130fb fix(editor): ESC doesn't work after auto-save
fix #898
2020-12-16 17:51:43 +08:00