Commit Graph

150 Commits

Author SHA1 Message Date
Jocs
0438d68fac feat: auto load file when file content changed 2017-12-12 17:40:56 +08:00
Jocs
0ac3d779ba feat: auto-save 2017-12-12 15:34:25 +08:00
Jocs
d261bf92b0 feat: 1. now your can open a existed file, and eidt it, then save it.
but still can't not open local image.
	scroll bar always on the top.
2017-12-12 00:25:20 +08:00
Jocs
e61c5b88e6 feats:1. save file
2. open file
2017-12-11 21:30:01 +08:00
Jocs
9e8c192bf0 feat: add menu 2017-12-11 17:22:22 +08:00
Jocs
292742d6fb TODO list: add some bugs 2017-12-10 22:09:02 +08:00
Jocs
95669a280a 1. feat: finished 'contentState' to 'markdown'
2. feat: surport ol tag's start attribute. you can write order list with a start number.
2017-12-10 21:49:33 +08:00
Jocs
814bd6d3d5 feat: export Markdown but list in blockquote has bug 2017-12-10 19:25:56 +08:00
Jocs
23fa376152 feat: handle backspace in codeblock and beginning 2017-12-09 11:05:43 +08:00
Jocs
a9d570c686 image click 2017-12-09 01:47:30 +08:00
Jocs
79bd0975fd bug fix 2017-12-09 01:33:38 +08:00
Jocs
67404d8333 code block fineshed 2017-12-09 01:28:45 +08:00
Jocs
5fde39ac3d feat: hr 2017-12-07 12:15:11 +08:00
Jocs
cc57ba8dfc opti: make createBlock is a method to contentState.prototype 2017-12-07 10:58:59 +08:00
Jocs
1bdbb7fcc8 bug: fix backspace in li bug 2017-12-07 00:30:19 +08:00
Jocs
8d018f1418 remove some unused code 2017-12-07 00:20:19 +08:00
Jocs
ba3b4c5eaa feat: backspace key and delete some unused code 2017-12-06 23:59:27 +08:00
Jocs
6af6d0f608 opti: inline update code 2017-12-05 14:53:20 +08:00
Jocs
c19ae4e80a feat: list enter 2017-12-05 11:25:40 +08:00
Jocs
e9abe9965b opti:structure adjust 2017-12-05 10:19:16 +08:00
Jocs
ac417ad115 feat: enter 2017-12-05 01:33:49 +08:00
Jocs
3aeb364a7d feat: enter 2017-12-05 00:46:48 +08:00
Jocs
d272fb812b feat: image 2017-12-04 19:29:45 +08:00
Jocs
3c3d6feb21 feat: backlash 2017-12-04 16:12:14 +08:00
Jocs
54ce7ec5a2 feat: link 2017-12-04 15:36:25 +08:00
Jocs
558ac06cde feat: emoji 2017-12-03 22:11:44 +08:00
Jocs
1b2aa7bd05 inline update fineshed 2017-12-03 20:33:45 +08:00
Jocs
8554da71c9 little bug fix 2017-12-02 23:43:28 +08:00
Jocs
5c8ab669b4 refactor: duang 2017-12-02 23:28:09 +08:00
Jocs
dd668bace9 refactor: inline syntax strong and em 2017-12-02 20:36:58 +08:00
Jocs
cee01d522c opti: rewrite parser 2017-12-02 01:33:01 +08:00
Jocs
88bcaf83f1 bug: fix 2017-11-27 22:58:46 +08:00
Jocs
f0fa8562b2 feat: element ids recyclation 2017-11-26 20:26:51 +08:00
Jocs
3834009252 feat: insert picture 2017-11-26 03:02:05 +08:00
Jocs
72e657cbb0 feat: finish use \ to escape 2017-11-24 23:18:07 +08:00
Jocs
9e9c6ae981 bug: #3 https://github.com/Jocs/aganippe/issues/3 2017-11-24 22:08:16 +08:00
Jocs
43098a6847 bug: link syntax optimizaiton 2017-11-24 18:36:23 +08:00
Jocs
6bb9d6c46e feat: handle backlash 2017-11-24 17:02:05 +08:00
Jocs
ea1c1d0b0b opti: udate todo list 2017-11-24 12:20:18 +08:00
Jocs
7fbed0ba54 bug: little bug fix 2017-11-24 12:00:59 +08:00
Jocs
6002447235 bug: fix enter backspace in code block and preview element is also code block, will cause the code block disappear 2017-11-24 11:00:34 +08:00
Jocs
2534a33dea feat: marked syntax can be nested 2017-11-24 10:38:36 +08:00
Jocs
b878c0ee06 nest inline marked chunk 2017-11-24 01:47:05 +08:00
Jocs
9a8167f5c2 add chunk regexp 2017-11-24 01:18:45 +08:00
Jocs
75d1236b05 add chunk regexp 2017-11-23 23:53:29 +08:00
Jocs
b6f4f0cd3a add chunk regexp 2017-11-23 23:07:38 +08:00
Jocs
7af5e0264a feat: arrow left and arrow right in code block 2017-11-23 22:06:09 +08:00
Jocs
b91fca3d72 feat: handle backspace in code block 2017-11-23 18:49:26 +08:00
Jocs
4afe384f6c arrow up and down in code block. 2017-11-23 17:51:53 +08:00
Jocs
452d177e90 feat: arrow up arrow down in and out of code block 2017-11-23 00:29:47 +08:00
Jocs
324be4d8c2 feat: select code block language by arrow up arrow down 2017-11-22 22:44:00 +08:00
Jocs
93b1e8b610 feat: handle input codeblock language 2017-11-22 19:33:02 +08:00
Jocs
caeee5b328 feat: float box surport arrow up\arrow down to select item, and use enter to confirm the selected item 2017-11-22 17:12:04 +08:00
Jocs
41a270b5f5 opti: rewrite floatbox and emoji use case 2017-11-22 15:48:09 +08:00
Jocs
d559e94981 opti: rewrite emojibox => floatbox for reuse 2017-11-22 11:36:36 +08:00
Jocs
926ce7a0af bug: fix codemirror loadmode didn\'t work in production environment 2017-11-22 10:57:37 +08:00
Jocs
37bc351a04 opti: style 2017-11-22 02:39:54 +08:00
Jocs
b8cf1c0c90 opti: code mirror 2017-11-22 00:32:01 +08:00
Jocs
b4bd0fdd59 opti: load language 2017-11-21 23:29:24 +08:00
Jocs
68d9eabdc0 bug: add ag-active classname to pre 2017-11-21 19:10:06 +08:00
Jocs
4963998429 feat: code block 2017-11-21 19:05:00 +08:00
Jocs
7d06e6b08c feat: code block, import codemirror 2017-11-21 18:10:09 +08:00
Jocs
5aeb8dfa65 feat: handle hr edit 2017-11-21 15:36:16 +08:00
Jocs
78bace484f feat: add hr element when type --- 2017-11-21 12:06:06 +08:00
Jocs
0471e2a49a opti: delete some unused code 2017-11-21 01:20:13 +08:00
Jocs
5fc79b1c39 opti: delete unused code 2017-11-20 18:59:14 +08:00
Jocs
73d0fb18ad feat: handle backspace keydown 2017-11-20 18:54:19 +08:00
Jocs
3abc09feb7 opti: emoji style 2017-11-20 11:06:33 +08:00
Jocs
e253ff5313 opti: throttle util 2017-11-19 22:09:30 +08:00
Jocs
bdf88882c1 optimization:
translate className\element id\ attrs to constants.
	project structure optimization
2017-11-19 17:02:56 +08:00
Jocs
b2fad7c6d7 bug: fix triple ` will been treat as inline code... 2017-11-19 00:32:06 +08:00
Jocs
30b041b726 feat: auto link surport, line through surport 2017-11-19 00:01:10 +08:00
Jocs
1991158876 opti: chop use RegExp constructor replace literal 2017-11-18 22:47:13 +08:00
Jocs
7744f04155 feat: emoji 2017-11-18 17:55:45 +08:00
Jocs
ecd76aa816 feat: emoji 2017-11-18 07:34:32 +08:00
Jocs
c5373e4b7d feat: add emoji json file 2017-11-18 02:28:14 +08:00
Jocs
559d17ab81 feat: inline syntax - link \ empty link \ linline code 2017-11-17 23:15:20 +08:00
Jocs
61db0329eb bug: add div tagName to lowerCaseTagName list. 2017-11-17 21:14:29 +08:00
Jocs
d29f5bab33 opti: constants optimizationi 2017-11-17 18:19:38 +08:00
Jocs
6c4cc32e95 optimization: translate all lowsercase tagNames to constants. 2017-11-17 16:49:27 +08:00
Jocs
31b6086a25 feat: blockquote nest and back 2017-11-17 02:03:58 +08:00
Jocs
a9f51529fd feat: order list back to p tag 2017-11-17 01:10:33 +08:00
Jocs
a2d0837eac feat: nest list 2017-11-17 00:31:47 +08:00
Jocs
5b77a3bbdb block update 2017-11-16 19:15:42 +08:00
Jocs
8aba5e2b6a handle user enter 2017-11-16 16:40:13 +08:00
Jocs
010ee4d8df operation of classList 2017-11-16 12:01:54 +08:00
Jocs
6d790ce42c handle paragraph change 2017-11-16 11:46:50 +08:00
Jocs
5037725aea enter handler 2017-11-16 01:31:16 +08:00
Jocs
40ae1cf650 event.js done 2017-11-15 22:11:18 +08:00
Jocs
e27282ce9a add event.js: for event center 2017-11-15 18:59:47 +08:00
Jocs
48b41843a4 add header label 2017-11-15 17:08:40 +08:00
Jocs
a21ca7759a header gray and hide 2017-11-15 15:06:24 +08:00
Jocs
2515deafa6 remove doc param 2017-11-15 10:44:01 +08:00
Jocs
b24fb74292 handler header 2017-11-15 01:54:32 +08:00
Jocs
abe0a7671e handle header update 2017-11-15 01:01:41 +08:00
Jocs
09f7e6dcd6 css format 2017-11-14 19:01:55 +08:00
Jocs
3a58e6a5be add selection.js which used for control cursor and selection 2017-11-14 17:39:51 +08:00
Jocs
661225e0a7 cursor position 2017-11-14 01:01:17 +08:00
Jocs
ec2362f02e add some utils 2017-11-13 19:03:28 +08:00
Jocs
94ca31d58a first commit 2017-11-13 00:05:57 +08:00