Commit Graph

1209 Commits

Author SHA1 Message Date
jocs
00242115a9 fix: #570 #571 2018-11-22 21:03:09 +08:00
jocs
dd0cfb15da style: optimization 2018-11-20 21:41:05 +08:00
jocs
73319d978e opti: use element-resize-detector to instead of ResizeObserver 2018-11-20 17:52:00 +08:00
Ran Luo
dc96c13060
fix: #563 (#567)
* fix: #563

* change isMacOs TO isOsx
2018-11-20 10:34:00 +08:00
Felix Häusler
387d42822d Fix virtual key mapping on non-QWERTY layouts (#561)
* Fix wrong virtual key mapping

* Update npm dependencies
2018-11-16 08:59:47 +08:00
jocs
8a7e65599d fix: compose bug 2018-11-15 14:40:12 +08:00
jocs
9a9e00b813 fix: #541 2018-11-15 08:58:58 +08:00
jocs
3d1fbeb879 fix: #558 can not input multiple empty lines 2018-11-13 22:45:44 +08:00
jocs
092857073d fix: unecessary inputHandler 2018-11-13 21:15:40 +08:00
jocs
eb9b3b8437 fix: copy paste bug in list 2018-11-13 21:08:15 +08:00
Felix Häusler
d0c4763e7e Fix sidebar and tabbar won't toggle (#557) 2018-11-12 21:09:34 +08:00
Felix Häusler
4789c7b119 Fix dark theme format box style (#556) 2018-11-12 21:07:36 +08:00
Felix Häusler
7623377432 Improve sidebar and tab design (#555) 2018-11-12 21:06:36 +08:00
jocs
275cd12800 opti: hide vega-embed 2018-11-12 11:19:47 +08:00
jocs
8af866fcd8 fix: the image path float box icon disappeared in build version 2018-11-11 21:40:55 +08:00
jocs
0e90d8a929 fix: hide image float box if needed 2018-11-11 12:42:57 +08:00
jocs
25f141f93b fix: image path float box show and hide 2018-11-11 11:58:55 +08:00
jocs
5c5a4fa9ae fix: paste need to update paragraph 2018-11-10 22:52:15 +08:00
jocs
8412412f2a fix: nest list error 2018-11-10 19:45:30 +08:00
jocs
8dcd4d118d fix: #509 2018-11-10 11:53:07 +08:00
jocs
c004b7300d fix: keyup need check for render 2018-11-09 19:18:05 +08:00
jocs
968b538acf opti: make UI components to plugins, disable spellcheck 2018-11-08 22:44:45 +08:00
Felix Häusler
72ef20edd8 Don't show save dialog for an empty/not changed document (#548)
* Don't show save dialog for an empty document

* Fix blank document was always encoded as LF
2018-11-07 21:50:10 +08:00
jocs
2e133e21e0 fix: #546 2018-11-07 20:27:53 +08:00
Felix Häusler
79ee58ef7e Update changelog (#547) 2018-11-07 10:38:49 +08:00
Felix Häusler
5339ef6bb4 Fix keybinding issues (#543)
* Fix keybinding issues

* Check for duplicate accelerators

* Allow to unset menu accelerators

* Disable AppVeyor to reconfigure later

AppVeyor is currently not in use. We have to enable it and configure.

* Update documentation

* Update documentation [ci skip]
2018-11-07 00:16:50 +08:00
jocs
7b5fb770d0 fix: #544 2018-11-05 23:56:34 +08:00
jocs
adc7b3b5e5 delete debug codes 2018-11-05 23:14:37 +08:00
jocs
41dd6db301 fix: #541 2018-11-05 23:13:37 +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
Felix Häusler
2ecc2e36f2 Revert "Workaround: Ctrl+Alt shortcut on Windows (#526)" (#540)
This reverts commit a1853cf73e.
2018-11-03 00:36:23 +08:00
Felix Häusler
63b33aa32f fix: #535 Application menu is not updated when switching windows (#539)
* fix: #535 Menu is not updated when switching windows

* Improve new file/tab UX

* Synchronize menu items after update

* Remoe debug code
2018-11-03 00:17:21 +08:00
jocs
91b514c5e1 update: hide some newly features 2018-11-02 22:06:14 +08:00
Ran Luo
55092ff15d
[WIP] Support Diagram (#529)
* feat: basic use of mermaid

* feat: add flowchart dep

* feat: handle flowchart render error

* feat: edit sequence diagram

* feat: support vega-lite

* fix: #534

* feat: basic use of mermaid

* feat: add flowchart dep

* feat: handle flowchart render error

* feat: edit sequence diagram

* feat: support vega-lite

* feat: copy paste and import and export of diagram

* finish

* fix: #537

* update: dependence
2018-11-01 22:42:34 +08:00
Jocs
f43504b2d0 fix: #534 2018-10-31 10:22:26 +08:00
Jocs
cdc9c6c8ab release version 0.13.53 2018-10-28 19:03:56 +08:00
Felix Häusler
a1853cf73e Workaround: Ctrl+Alt shortcut on Windows (#526) 2018-10-28 19:00:19 +08:00
jocs
d28511914c fix: #521 2018-10-27 17:55:04 +08:00
jocs
19d261eb5d fix: #520 2018-10-26 18:49:35 +08:00
Jocs
ee8743dc66 opti: delete some ununsed codes 2018-10-26 00:31:57 +08:00
Jocs
d42edac8eb fix: #451 empty list item error 2018-10-25 22:00:51 +08:00
Jocs
f0c691ea98 fix: #522 paste bug when paste into empty line 2018-10-25 21:19:12 +08:00
jocs
fc8a69e6af typo error 2018-10-25 08:23:09 +08:00
jocs
8335598916 fix: escap error in language input 2018-10-24 21:10:50 +08:00
jocs
6fd3608a77 fix: composed error when input Chinese 2018-10-24 20:56:11 +08:00
jocs
4825ac53b7 fix: search in markup code block 2018-10-24 20:19:24 +08:00
Jocs
7494bb3223 opti: rewrite check is edit language input 2018-10-24 10:37:41 +08:00
jocs
49cab6dc11 fix: do not show language picker in code block 2018-10-24 00:27:55 +08:00
jocs
d127c3f4cb fix: #517 2018-10-23 23:10:56 +08:00
jocs
ed1f23d173 fix: copy and paste error in code block 2018-10-23 22:51:24 +08:00
jocs
d17de7fe3f feat: support quick input tag name in html block 2018-10-23 22:28:49 +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
e894efa315 opti: delete some unused codes 2018-10-18 13:30:28 +08:00
Jocs
0c770bb403 opti: remove unused dependence cheerio 2018-10-18 11:07:59 +08:00
Jocs
ecfcf32378 opti: rewrite markdown to state and remove lib parse5 2018-10-17 23:10:53 +08:00
Jocs
b68b30af4b opti: optimization some codes 2018-10-17 19:05:19 +08:00
Jocs
758441513f fix: unable render emoji when export HTML and PDF 2018-10-16 15:45:40 +08:00
Jocs
55d453a91c fix: #510 pdf export error 2018-10-16 15:10:07 +08:00
Felix Häusler
067cfb0fa7 opt: improve image upload UX (#508)
* opti: notify the user about the deletion url of the uploaded image

* Update changelog
2018-10-15 00:47:14 +08:00
jocs
9ab0085262 fix: clear format when select image 2018-10-13 22:26:29 +08:00
Felix Häusler
fdccc98ed8 Fix overflow in quick insert box (#506) 2018-10-13 21:03:59 +08:00
Felix Häusler
3e29389f42 Portable Windows application (#505)
* Add portable windows application package

* Update changelog
2018-10-13 20:49:05 +08:00
Jocs
25504413cd Merge branch 'master' of github.com:marktext/marktext 2018-10-13 01:06:08 +08:00
Jocs
189c839224 feat: import files 2018-10-13 01:05:33 +08:00
jocs
4fe477d8d5 feat: add hasFocus API 2018-10-12 22:10:19 +08:00
jocs
fa320bf898 fix: icon error in production 2018-10-11 00:43:41 +08:00
Jocs
a5901a5880 fix: #482 wrong enter action between lines 2018-10-10 16:39:19 +08:00
Jocs
3e3d213796 bug: #370 strong + emphasis doesnt work 2018-10-10 15:46:24 +08:00
Jocs
315cdc6614 update: change log 2018-10-10 14:29:26 +08:00
jocs
ceb7279e4f feat: inline format float box 2018-10-10 01:07:39 +08:00
jocs
e1ac8e2977 bug: can not use quick insert in math block and front matter 2018-10-09 21:46:00 +08:00
jocs
2f87d334dc fix: wrong arrow action in table 2018-10-09 20:58:14 +08:00
Jocs
6e18bb4859 opti: rewrite table picker 2018-10-09 15:21:27 +08:00
jocs
42891ecd88 update: electron 2018-10-08 23:52:43 +08:00
jocs
b3a8925785 feat: rewrite image picker and delete previous float box 2018-10-08 23:11:08 +08:00
jocs
9e6aefde6d bug: change float box theme color after editor theme changed 2018-10-08 21:44:49 +08:00
jocs
6a35d70545 opti: hide float box when scroll and add dark theme to flot box 2018-10-08 21:30:20 +08:00
Jocs
0327fee631 opti: colorful quick open icon 2018-10-08 18:39:42 +08:00
jocs
9dc16880a8 feat: rewrite emoji picker 2018-10-08 01:17:10 +08:00
jocs
8e2ed5c571 opti: quick insert style 2018-10-07 22:03:01 +08:00
jocs
2a1ab34279 opti: typo error 2018-10-07 21:46:07 +08:00
Jocs
dd70789b02 opti: refactor 2018-10-07 21:32:27 +08:00
Jocs
5473a7e5d8 opti: rewrite code picker 2018-10-07 21:25:02 +08:00
Jocs
94780cde3b opti: optimization of quick insert 2018-10-07 13:39:35 +08:00
Jocs
668cd3b80b opti: update position after float box resize 2018-10-07 13:20:53 +08:00
Jocs
d367fd3ae9 opti: only show front matter option when at the first paragraph 2018-10-07 12:59:16 +08:00
Jocs
5c5832bef7 feat: add html bock to paragraph menu 2018-10-07 12:12:20 +08:00
Jocs
f6fcc5cafd opti: rewrite create table in quick insert 2018-10-07 11:34:18 +08:00
Jocs
9f572324eb opti: optimization float box style 2018-10-07 11:04:23 +08:00
jocs
38add818c1 fix: wrong emoji postion when preview 2018-10-07 01:44:53 +08:00
jocs
997e7c4912 feat: quick insert with some bugs 2018-10-07 00:37:04 +08:00
jocs
7d5bc941f8 feat: quick insert basic use 2018-10-06 23:34:48 +08:00
Jocs
65da93f820 opti: extract click event into single file 2018-10-06 21:37:54 +08:00
Jocs
c8e610656a opti: extract clipboard class from index.js 2018-10-06 18:30:24 +08:00
Jocs
71cf08bb96 opti: lib structure optimization 2018-10-06 14:52:19 +08:00
jocs
37e64cabd3 feat: quick insert paragraph 2018-10-06 14:15:08 +08:00
jocs
7b1576e048 opti: optimization of search emoji 2018-10-05 19:27:30 +08:00
jocs
c0d7652f25 feat: add tooltip to editor 2018-10-05 14:59:13 +08:00
jocs
e9b3d121ab opti: delete some unused codes 2018-10-05 09:57:47 +08:00
Jocs
11f5f45b8b fix: #393 2018-10-01 13:36:07 +08:00
Jocs
94db7a7c7f fix: #399 #476 #490 math render with style miss 2018-10-01 12:37:04 +08:00
Jocs
1681b48503 opti: use Node.compareDocumentPosition to compare two paragraphs 2018-09-28 18:01:15 +08:00
jocs
af38ca1a85 fix(#450) style error when render inline math 2018-09-27 21:35:50 +08:00
jocs
5ff7f7b92e fix(#434): no need to auto pair in math block 2018-09-27 21:20:56 +08:00
jocs
6736b8d57f fix(#431): broken math expression 2018-09-27 21:03:39 +08:00
jocs
d46b3946ad opti: import files 2018-09-26 01:19:37 +08:00
jocs
aeeb34fb93 bug: check pandoc command exist before drag import 2018-09-26 00:47:11 +08:00
Jocs
818dd254dc opti: typo error 2018-09-24 21:50:21 +08:00
Jocs
2ff6b77488 feat: drag to import 2018-09-24 18:40:40 +08:00
Jocs
dc9f128249 feat: export files in file menu 2018-09-24 16:32:50 +08:00
Jocs
400bb9cdc3 update: update all the dependencies 2018-09-23 22:44:59 +08:00
Jocs
8b24b1611b update: electron to v3.0.0 2018-09-23 21:25:11 +08:00
Jocs
c3f8c9d129 opti: drag image to upload directlly 2018-09-22 18:11:11 +08:00
Jocs
a0ffb60054 opit: rewrite export pdf and print 2018-09-22 13:01:21 +08:00
Jocs
79866a4604 opti: delete some unused codes 2018-09-22 12:16:02 +08:00
Jocs
7d6af4f587 opti: rewrite export html 2018-09-22 12:01:51 +08:00
Jocs
adc491142e opti: remove duplicated codes when export file 2018-09-20 23:55:43 +08:00
Jocs
db5e7b8e8d fix: #485 Open Project command. Maybe rename to Open folder 2018-09-20 21:50:14 +08:00
Jocs
e80c8c4098 feat: #487 Show filename while hovering over marktext file on dock 2018-09-20 21:43:10 +08:00
Jocs
78ec06c3cd fix: YAML frontmatter duplicates a new line on each opening of the file #494 2018-09-20 21:03:59 +08:00
Felix Häusler
deb7f0cb1b fix: #481 add missing dot to parser markdown files only (#483) 2018-09-01 13:43:12 +08:00
Heymind
7585870b35 fix: #429 Support DataURL images (#480)
* fix: #429 Support DataURL images

* replace dataurl's regex
2018-08-30 22:57:51 +08:00
Maksym Dogadailo
f1e2085e6d fix: remove separators from help menu in OSX (#473)
* fix: remove separators in OSX

* code review: replace const with let
2018-08-24 17:37:58 +08:00
Maksym Dogadailo
bf839b5a4b Arrow key up/down navigation in a table (#470)
* fix: arrow key up/down navigation in table

When the cursor is active and pressing up/down key in the table, the cursor should leave the table.

* style: remove unnecessary space

* fix: parent table can be inside a list

Fix getting the table when it inside another element.
Now it should take first parent table.

* fix: replace/remove getTable with getTableBlock
2018-08-19 19:12:41 +08:00
Felix Häusler
45aa733ceb export styled HTML with heading id's (#460)
* export styled HTML with heading id's

* Overwrite id attribute
2018-08-16 21:51:40 +08:00
Ran Luo
26724c86d9
update readme (#465) 2018-08-12 22:03:25 +08:00
enyaxu
c01c65cbba #421 Add experiment function RTL support (#439)
* feature: Add experiment RTL support

* fix: binding to currentfile textdirection

* feature: add sourcecode RTL support

* feature: add text direction menu upgrade

* fix sourceCode does't change from menu switch text direction
2018-08-12 20:55:48 +08:00
Felix Häusler
2a4f4b9dc1 fix: recommend filename can be empty (#462) 2018-08-12 20:41:19 +08:00
Felix Häusler
6abd88e075 fix: #402 table of contents sidebar scroll bug (#461) 2018-08-12 20:38:31 +08:00
Felix Häusler
65a792d410 fix: task list item centering (#457) 2018-08-12 20:01:01 +08:00
Felix Häusler
7801c43f2e fix: #441 #451 empty list item has no paragraph (#456) 2018-08-12 19:54:16 +08:00
Maksym Dogadailo
f8edf00298 fix: title bar resizing in north direction (#455)
Fixing window resizing in north direction
Added title-no-drag to left-toolbar for non darwin systems
2018-08-12 16:36:49 +08:00
Maksym Dogadailo
77ebe1cae4 Exclude hard-line-break from printing. (#454)
Resolves 447
2018-08-12 16:34:45 +08:00
enyaxu
ab6e103983 feature: vscode debug config support (#446)
* feature: vscode debug config support

* improment vscode debug settings
2018-08-12 16:08:48 +08:00
enyaxu
486eb933b0 Improvement: #414 Add functional bracket auto-completion (#428)
* Improvement: #414 Add functional bracket auto-completion

* bugFix: #414 wrong action with delete auto-complation function

* bugfix: Fixed bullet order list chinese input error
2018-07-27 22:54:56 +08:00
Ran Luo
58fd81d9bb
fix: wrong mouse click position #416 (#423) 2018-07-19 14:59:29 +08:00
enyaxu
03dafb171f Improvement math preview styles (#419) (#424) 2018-07-17 10:14:44 +08:00
Ran Luo
405d04ce19
package and release muya (#413) 2018-07-07 00:10:30 +08:00
Ran Luo
36bad78348
bugfix: #400 (#410) 2018-07-03 10:50:08 +08:00
Ran Luo
c902f6b76b
bugfix: #406 relative image path not display (#411) 2018-07-03 10:49:46 +08:00
Ran Luo
82d82e6ac3
optimization: add gauss blur effect when open a modal (#407)
* optimization: add gauss blur effect when open a modal

* only for maxOs
2018-07-01 23:13:58 +08:00
Ran Luo
610530408b
bugfix: inline math style error in list item (#405) 2018-06-28 10:14:14 +08:00
冉四夕
96e328501f
optimization: remove magic number (#403) 2018-06-25 10:27:27 +08:00
Eviato
426704ef80 Issues 388 (#395)
* add alfred workflow into readme

* issues-388
2018-06-22 18:12:40 +08:00
Jocs
f0b361314e bug: #380 wrong action of list shortcut 2018-06-20 20:13:21 +08:00
Jocs
d7315f7a19 fix: #371 wrong paste behavior 2018-06-20 19:38:18 +08:00
Felix Häusler
816154096a fix: #343 Inconsistent color scheme in source code mode (#363)
* fix: #343 Inconsistent color scheme in source code mode

* Fix style
2018-06-19 23:00:23 +08:00
冉四夕
1e9a449c19 fix: #361 easy sidebar toggle (#368) 2018-06-19 16:16:01 +02:00
Jocs
feaf744d26 bugfix: #360 No page breaks in PDF export 2018-06-19 19:43:26 +08:00
Jocs
509eff08fa fix: #348 do not export tabs and sidebar when export PDF 2018-06-19 19:33:29 +08:00
Jocs
05bf5b96d5 bugfix: #167 #357 #344 2018-06-19 18:38:40 +08:00
Jocs
4cb2d42708 bugfix: #342 2018-06-19 11:14:09 +08:00
mklpiening
1f0b65d95c bugfix: #338 error message on export cancel (#364)
* bugfix: #338 error message on export cancel

* fixed the solution

* put package-lock.json back
2018-06-19 10:26:27 +08:00
Felix Häusler
1073e650cc fix: #347 application crash (#367) 2018-06-19 10:20:06 +08:00
Zach Alexander
3ab5070bf4 Bug #365 - Fix "move to trash" typo in sidebar menu (#366) 2018-06-18 21:07:00 +02:00
stefnotch
08b671189b bugfix: #351 smarter quotes auto pairing (#362)
* bugfix: #351 smarter quotes auto pairing

Only add a quote if it's not preceded by a letter or number

* Only single quotes need special handling
2018-06-19 01:33:46 +08:00
Jocs
32f954faec bugfix: #351 only auto pair double quote 2018-06-18 22:47:58 +08:00
Jocs
888c49e312 update readme 2018-06-17 09:38:56 +08:00
Jocs
d3878df8da rewrite float box by popper.js 2018-06-16 13:41:53 +08:00
Jocs
7621b53b49 optimization: add animation when hover sidebar icon 2018-06-15 22:33:59 +08:00
冉四夕
4be72ade97
Notification (#337)
* rewrite notice module

* optimization: show some notification when export html or pdf

* optimization: style of open project button

* little bug fix

* style: uniform titlebar hight to remove some style error
2018-06-15 21:30:10 +08:00
Jocs
ff78118611 bugfix: #335 2018-06-15 00:45:34 +08:00
Jocs
a8ced8d832 bugfix: unexpected scrollbars in source code mode #327 2018-06-14 22:56:25 +08:00
Jocs
4c0e412988 optimization: add mutiplexing mode of codemirror 2018-06-14 19:36:20 +08:00
Jocs
86f02259b8 remove debug codes 2018-06-13 22:41:56 +08:00
Jocs
cb253d41e0 fix: text cursor skip lines in paragraph #330 2018-06-13 22:28:07 +08:00
冉四夕
0fb5db7b20
bugfix: copy paste title delete text #321 (#333)
* bugfix: copy paste title delete text #321

* optimization: delete extra hash tag when copy header
2018-06-13 19:55:19 +08:00
Jocs
f22c68d2ab feature: can use delete key now, #301 2018-06-13 19:52:15 +08:00
Jocs
e4debffb2d optimization: style 2018-06-13 14:52:07 +08:00
Jocs
c2635c8b2f optimization: add animation to checkbox when clicked 2018-06-13 13:12:23 +08:00
Jocs
6df237532a style optimization in dark theme 2018-06-13 11:43:15 +08:00
冉四夕
447aa0c640
bugfix: #328 source code mode shortcut not work (#332) 2018-06-13 10:03:42 +08:00
冉四夕
434431175f
feature: copy table in context menu (#331) 2018-06-13 10:03:15 +08:00
Felix Häusler
51f9b17f95 Fix framless titlebar height (#326) 2018-06-13 10:02:47 +08:00
Jocs
8c392a7a5c feature: feedback via twitter
bugfix: can not save when there is no file edited
optimization: Don't show welcome page when init App
2018-06-12 19:42:31 +08:00
Jocs
fe6645e684 feature: add new tab menu item 2018-06-11 19:20:09 +08:00
Jocs
1735b2f7c1 optimization: rewirte table picker use popper 2018-06-11 17:14:08 +08:00
冉四夕
10278e54ca
feature: reference link and reference image (#325)
* feature: basic use of reference link

* feature: reference image
2018-06-11 10:09:26 +08:00
Jocs
69efbb1545 fix: can not copy full link #312 2018-06-08 20:01:21 +08:00
Jocs
6b45978e7c degrade electron-builder to 20.14.7 2018-06-08 10:10:28 +08:00
Jocs
9509209eff bugfix: can not export table markdown #313 2018-06-07 22:24:44 +08:00
Jocs
68b0871e94 fix style error in side bar 2018-06-07 21:01:04 +08:00
Jocs
a703501fe6 feature: tab view in dark and light theme 2018-06-06 23:29:18 +08:00
Jocs
d9e058bb57 bugfix: can not save single file 2018-06-06 22:09:21 +08:00
Jocs
7d1b7cc51a feature: brand page 2018-06-06 21:51:11 +08:00
Jocs
69aeebfba4 bufix in sidebar 2018-06-06 19:33:28 +08:00
Jocs
8310ee1082 show some notice info when some error happened 2018-06-06 18:09:50 +08:00
Jocs
233a7c0d86 if open empty project, add a create file button in side bar 2018-06-06 17:33:26 +08:00
Jocs
6df0c8fa6e feature: table of content 2018-06-06 16:08:04 +08:00
Jocs
e4877adc42 feature: search in project 2018-06-06 14:41:36 +08:00
Jocs
c099cc3ce7 bugfix: history error and main process error 2018-06-06 12:12:18 +08:00
Jocs
8fd13ed068 sidebar support dark theme 2018-06-05 23:58:32 +08:00
Jocs
184d96c76e optimization style of side bar 2018-06-05 23:09:58 +08:00
Jocs
2c8814c5ee feature: copy table from Number 2018-06-05 18:06:41 +08:00
Jocs
30de74e866 remove debug codes 2018-06-05 00:33:30 +08:00
冉四夕
dc79014147
Support Side Bar、 Tabs and Quick Open in Mark Text (#317)
* side-bar-view

* list files view

* update the structure of store, add modules

* open project and change select files

* add tabs view

* listen for file/dir changing, and update in sidebar

* delete some unused code

* context menu in sidebar

* add tool bar and tab bar menu item

* save all and save all and close

* copy, cut, paste, new file, new directory, move to trash, open in folder

* rename in sidebar
2018-06-04 11:23:51 -05:00
冉四夕
0a616f23dd
refactor main process (#309)
* refactor main process

* optimize codes in main process
2018-05-31 01:12:51 -05:00
Jocs
faf65e8eca optimization: add postcss to write css 2018-05-30 18:05:26 +08:00
Jocs
9c2bd1b7fe fix: #230 it should clear history when open a new file 2018-05-29 14:03:39 +08:00
冉四夕
3a4a954219
fix bug when paste as plain text (#306)
* fix bug when paste as plain text

* remove the implementation of insert one paragraph when arrow up|down between tables and code blocks, because we have insert paragraph before|after in context menu now

* bug fix when paste multiple math formula

* remove debug codes
2018-05-28 23:39:34 +08:00
Felix Häusler
cb5d14ef65 Detect image type by mime type (#214)
* Detect image type by mime type

* Update changelog
2018-05-28 18:17:28 +08:00
冉四夕
911f0ce8e4
feature: context menu (#304)
* context menu

* edit table row and column and insert paragraph

* update change log

* update todo list

* fix comments bugs
2018-05-28 18:17:00 +08:00
Felix Häusler
870734f384 workaround for issue #265 (#305) 2018-05-28 00:59:08 +08:00
Felix Häusler
f4f96de478 Insert spaces when tab key is pressed (#296) 2018-05-28 00:45:24 +08:00
冉四夕
80e6668957
Custom copy and paste (#303)
* Custom copy

* rewrite marked.js by es6 modules

* remove all the `var`

* optimization sanitize html

* feature: copyAsMarkdown copyAsHtml pasteAsPlainHtml

* remove debug codes
2018-05-27 14:13:41 +08:00
Jocs
6c825cb202 fix #302 exception when spaces at the end to line 2018-05-26 09:11:59 +08:00
冉四夕
16bb1de82e
Support multiple lines math input (#294)
* change another way to render math

* open\save\edit multiple lines math block

* rewrite header label style

* inline code style update

* update dark theme style

* update change log

* typo error

* update webpack to v4

* update license

* fix unexpected to delete math preview block

* fix cursor error when change mode
2018-05-26 00:58:16 +08:00
冉四夕
1a7a3d5c06
fix: #233 better HTML escape (#293)
* fix: #233 better HTML escape

* delete debug code

* remove debug codes

* fix: multiple spaces convert into one space

* update parse5 electron electron-builder

* remove unused dependencies: update and to from package.json

* optimization: cache the tokenization result only when the divice memory great than 4(4G)
2018-05-23 22:57:06 +08:00
Felix Häusler
7a928ab711 fix: #262 select text from selected table cell only (#273)
* select text from selected table cell only

* Update changelog
2018-05-23 10:12:52 +08:00
Jocs
cecdbb8d15 fix: little bug fix 2018-05-22 21:36:36 +08:00
冉四夕
25f5502068
fix #274 (#291)
* fix #274

* resolve conflict

* update changelog
2018-05-22 21:21:36 +08:00
冉四夕
30caf53d08
List item marker (#290)
* add bullet list marker to preference file

* list marker

* update change log

* update change log

* code style and remove debug codes
2018-05-22 10:19:37 +08:00
Jocs
2b05619ac2 update readme 2018-05-21 13:34:17 +08:00
Felix Häusler
dd44243cea fix: #283 (#284) 2018-05-21 10:07:53 +08:00
Jocs
3a3a3b54a5 fix: #231 cut not work in code block 2018-05-20 23:55:23 +08:00
Jocs
8745f0fd56 optimization: rewrite the valide emoji 2018-05-20 23:12:24 +08:00
Felix Häusler
066c5485dd Fix frameless window drag (#280) 2018-05-19 23:42:30 +08:00
Felix Häusler
b3cd4661ba fix: #277 inline math and typo (#278)
* fix: #277 inline math

* fix typo
2018-05-18 23:59:28 +08:00
Jocs
1e134e39f4 optmization: change folder structure of parser folder 2018-05-17 22:54:58 +08:00
Jocs
0cf6ab8cb1 update electron-builder 2018-05-17 16:10:55 +08:00
Jocs
7f3f6439e5 performance optimization, cache of tokenization 2018-05-17 15:04:16 +08:00
Jocs
3f01cb8865 optimization: change folder structure of parser 2018-05-17 14:24:25 +08:00
Felix Häusler
8255ae73b8 fix: get menu item by id (#270) 2018-05-17 10:29:07 +08:00
冉四夕
0b46fe2f2d
feature: Support setext heading but the default heading style is atx (#268)
* feature: Support `setext` heading but the default heading style is `atx`

* optimization: change fenced code block style

* change hard line break icon

* optimization: render content state
2018-05-17 10:11:53 +08:00
Jocs
968891d334 optimization: in paragraph menu 2018-05-16 17:49:26 +08:00
Jocs
c90bf90e66 bug: use render replace partialRender when insert front matter 2018-05-16 17:41:38 +08:00
Jocs
62b7e4b475 update snabbdom-to-html 2018-05-16 16:41:39 +08:00
Jocs
dcb50e3de2 fix: fix snabbdom-to-html error, and already submit an issue to snabbdom-to-html 2018-05-16 15:56:15 +08:00
Jocs
ac8322d81f fix bug in shortcut when introduced the line break 2018-05-16 01:55:06 +08:00
冉四夕
1e144f6c38
feature: support front matter #144 #220 (#261)
* feature: support front matter #144 #220

* rename in title bar only for macOs

* fix: need press `ENTER` twice when there in not `\n` at the end of front matter text

* refactor: add line block to front matter box

* update: issue template
2018-05-15 20:45:35 +08:00
Jocs
a6dbc29874 feature: Click filename to rename or save in title bar. 2018-05-14 18:12:19 +08:00
Jocs
d0b62033bf optimization: partial render 2018-05-14 15:41:26 +08:00
冉四夕
8abdf9bfe9
fix: #243 (#260) 2018-05-14 10:40:24 +08:00
冉四夕
4ecfdcc502
fix: #232 (#259) 2018-05-13 22:50:36 +08:00
Jocs
342565ccff bugfix: #251 2018-05-12 21:27:40 +08:00
Jocs
fb41bd72df delete debug code 2018-05-12 20:42:45 +08:00
Jocs
1b66bfcce5 replace all partialRender to new one 2018-05-12 20:38:50 +08:00
Jocs
776d28d863 delete some unused codes 2018-05-12 11:03:09 +08:00
Jocs
9ae3b10916 optimization: rewrite getUniqueId in editor/util/index.js 2018-05-12 10:37:37 +08:00
Jocs
6150f67871 delete some unused codes 2018-05-12 10:03:40 +08:00
Jocs
40db811e7c bugfix: some bug fix in backspace control 2018-05-10 17:33:46 +08:00
Felix Häusler
dfffc73e69 Line ending (#234)
* Prepare line ending feature

* Detect document line ending

* Line ending conversion

* Add "endOfLine" settings option

* Add line ending menu

* Notify user about mixed endings

* Fixes

* Change line ending menu entries to radio style
2018-05-09 20:29:40 +08:00
Jocs
6cad091f6d optimization: reduce the width of scroll bar in float box 2018-05-09 18:50:49 +08:00
Felix Häusler
c7f574b7b9 fix: #248 dark background disappears when export PDF (#252) 2018-05-08 10:19:04 +08:00
Jocs
dc82145d00 optimization: remove debug code 2018-05-01 21:25:43 +08:00
Jocs
70023e526a optimization: backspace ctrl 2018-05-01 19:56:41 +08:00
Jocs
44ff375517 optimization: rewrite of partial render 2018-05-01 18:40:55 +08:00
Jocs
8399cbe402 optimization of performance: source code mode 2018-04-30 21:08:03 +08:00
冉四夕
f569d2e9d9
fix some performance problem, add partial render and undo depth (#222)
* fix some performance problem, add partial render and undo depth

* optimization of performance: rewrite getBlock, getBlocks ...

* optimization of performance: cache the result of tokenization

* optimization of performance: render code block only needed
2018-04-30 01:46:09 +08:00
Felix Häusler
d19dc9f4b8 fix: #217 "ready-to-show" event issues (#219) 2018-04-30 01:22:24 +08:00
Jocs
6fd10faf3a Update: todo list and delete some unused codes 2018-04-27 23:13:44 +08:00
Jocs
6a260a5e89 fix: #94 history error 2018-04-27 22:48:54 +08:00
Jocs
b650481d35 fix: the temp p block does not deleted when it has empty line 2018-04-27 22:15:35 +08:00
Jocs
9882dbe59c fix: #213 style error when render math 2018-04-26 22:30:58 +08:00
Jocs
f0343533b5 feat: unindent list item 2018-04-26 21:09:06 +08:00
Felix Häusler
68b0594597 Add fallback editor font family (#209) 2018-04-26 10:19:39 +08:00
Jocs
b8f33f9e6f fix: style error in task list 2018-04-23 22:37:07 +08:00
Jocs
4bad26f609 fix: indent in list not work 2018-04-23 22:29:40 +08:00
Jocs
0cd866bcd4 fix:PDF Export is contacted by LaTeX hightlight #194 2018-04-23 21:48:07 +08:00
Jocs
03ffedd71b fix: #202 Table inside a list is not supported 2018-04-23 21:26:50 +08:00
Jocs
255237c183 fix: #204 copy and paste not work after introduced line break 2018-04-23 01:15:20 +08:00
Jocs
ddd2895a0e fix #198 navigation in table 2018-04-22 20:30:28 +08:00
Jocs
0c669734f5 fix: #199 #200 2018-04-22 19:20:37 +08:00
冉四夕
cfd0d0a2fa
Line break (#197)
* update: change log

* line break

* feature: line break, support event and import and export markdown

* shift enter in table cell

* fix: not create a new paragraph when presss enter in the last cell of end table block

* fix: html block can not work

* feature: line break export to html

* fix: problem2

* fix: problem 4
2018-04-22 13:17:46 +08:00
Felix Häusler
9053b42524 Disable update menu for snap and not supported packages (#196) 2018-04-21 03:45:20 +08:00
Felix Häusler
2f8f24dd37 Check whether window size is larger than screen size (#192) 2018-04-20 10:16:26 +08:00
Jocs
54d1edfa27 fix: html block style error when active 2018-04-19 22:49:07 +08:00
Jocs
06ae4cfdd1 fix: #153 Double space between tasklist checkbox and text 2018-04-19 22:27:53 +08:00
Jocs
af6c8e300c optimization: add sticky to block html tag 2018-04-19 16:43:38 +08:00
Jocs
2597c316ed fix: no need to auto pair when * is to open a list item 2018-04-19 16:16:14 +08:00
Jocs
193b62023e fix: ATX heading error when press shortcut 2018-04-18 23:43:33 +08:00
Jocs
ec56014040 bugfix: ATX headings render not correctly when import markdown 2018-04-18 23:11:13 +08:00
Jocs
7b3e5b2d9c fix: #177 ATX headings strictly follow the GFM Spec 2018-04-18 22:59:59 +08:00
Anderson
62295d7872 feature: add editorFont setting in user preference. (#175)
* feature: add editorFont setting in user preference.

* Remove unused code.

* Update editor.js

* Update preference.md

* Add editorFontFamily fallback

* Remove unused code.
2018-04-18 22:04:47 +08:00
Mice
96bb2b956a bugfix: Change Source Code Mode Accelerator (#180) 2018-04-18 22:01:12 +08:00
鸿则
cc0d191709 fix the error 'Cannot read property 'forEach' of undefined' (#178) 2018-04-18 17:39:19 +08:00
Jocs
184210b315 fix: arrow key bug in code block 2018-04-17 10:28:42 +08:00
Felix Häusler
e7510fb741 Extend language support (#170) 2018-04-17 10:12:46 +08:00
Jocs
52473f5768 fix: #67 problem 4 2018-04-16 14:58:01 +08:00
Jocs
7e447e7c82 fix: #161 can not select all by Ctrl + A when the first block is HTML Block 2018-04-16 11:53:25 +08:00
Jocs
10e6be6ef2 Bugfix: #162 support php language 2018-04-16 11:21:20 +08:00
Gabriel Caruso
f46d7363cd Use HTTPS instead of HTTP (#158) 2018-04-16 10:47:46 +08:00
Felix Häusler
e87b301ff4 Fix UTF-8 BOM encoding (#147)
* Fix UTF-8 BOM encoding

* Update changelog
2018-04-15 20:52:48 +08:00
Jocs
2f114c3adf Bugfix: #152 emoji error 2018-04-15 01:35:14 +08:00
Jocs
73c3c261e5 Bugfix: #149 can not delete code block content 2018-04-15 00:51:16 +08:00
Semen Zhydenko
ab61ec782a Ss18/pr0 enhancement (#145)
* begining -> beginning

* preceeded -> preceded

* occured -> occurred

* Changed url to https://github.com/marktext/marktext/issues
2018-04-13 23:48:33 +08:00
Felix Häusler
d968dbfbeb fix: sanitize HTML when export simple HTML #127 (#146) 2018-04-13 23:04:07 +08:00
Felix Häusler
76e07c8e9a Fix recently used documents on Linux and Windows (#139) 2018-04-13 23:02:46 +08:00
Jocs
0520d3bf6d Bugfix: handle backspace when presibling is HTML block #140 2018-04-13 20:32:42 +08:00
Jocs
9e7389d8e8 Bugfix: looselist error 2018-04-12 22:16:02 +08:00
Jocs
9719fa37be Bugfix: #67 2018-04-12 20:24:39 +08:00
Jocs
f08d01a6c5 Feature: handle backspace in HTML block when only has one line 2018-04-12 19:17:33 +08:00
Jocs
744ee72225 Bugfix: unexpect console error when click Block HTML 2018-04-11 23:28:32 +08:00
冉四夕
a2cc87f7cf
Optimization: sanitize html to avoid XSS attack #127 (#132)
* Optimization: sanitize html to avoid XSS attack

* Bugfix: some bug fix when press arrow key

* remove unnecessary console

* Bugfix: sanitize raw html and html from source code mode
2018-04-11 22:50:43 +08:00
Felix Häusler
8f7169c4af Fix #131 and update packages (#133) 2018-04-11 18:29:01 +08:00
Jocs
56d4f3584e Bugfix: #128 #129 2018-04-11 15:22:56 +08:00
Jocs
58fbf8ee7d Bugfix: #124 strictly follow GFM 2018-04-10 01:31:10 +08:00
Jocs
3fe6ebdd5d Bugfix: #124 but not perfect 2018-04-10 01:10:11 +08:00
Felix Häusler
205cce066b Fix hr and dark background style when export HTML (#123) 2018-04-10 00:58:50 +08:00
Jocs
b71e11c094 Bugfix: parse error when escape markdown syntax 2018-04-09 16:33:23 +08:00
Jocs
98436f4896 Bugfix: parse error in emphasize #116 2018-04-09 16:17:34 +08:00
Jocs
d73604a0c0 Feature: ability to insert an empty line between elements #33 2018-04-09 00:49:38 +08:00
Jocs
bc0230ddce Bugfix: strong and em parse error #116 2018-04-08 23:40:03 +08:00
Felix Häusler
d7abed3619 Fix user preferences (#122) 2018-04-08 22:27:05 +08:00
Jocs
a41274c1d8 Bugfix: style error when export PDF/HTML with hr 2018-04-08 20:57:03 +08:00
Jocs
cc731ef529 Feature: auto pair 2018-04-08 20:47:55 +08:00
Jocs
b7c0e31692 Bugfix: export raw html correctly 2018-04-08 19:47:10 +08:00
Felix Häusler
a45bf48bb1 Fix horizontal line style (#120) 2018-04-08 18:54:09 +08:00
Felix Häusler
9e7b07b68d Disable tab focus and indent list items with tab (#119) 2018-04-08 18:52:29 +08:00
Jocs
e166499972 Update: dependence, Todo list, change log 2018-04-08 18:17:15 +08:00
冉四夕
5e6774f1e6
Feature: raw html (#121)
1. create raw html
2. edit raw html
3. copy and paste
4. output (unfinished)
5. `a` and `img` auto preview when lose focus
2018-04-08 18:07:26 +08:00
Felix Häusler
a924b52096 Reset modification indicator after successfully saved changes (#117) 2018-04-08 18:04:42 +08:00
Jocs
b16c23b5ee Feature: validate block html 2018-04-08 02:47:25 +08:00
Jocs
1e1f7f7cd8 Bugfix: escape title script style tag in block html 2018-04-08 02:06:51 +08:00
冉四夕
07e08bcf99
Block html (#118)
* Feature: Basic use of Block HTML create and edit

* Feature: import Block HTML

* Feature: add dev snabbdom-virtualize to translate dom string to vitual dom

* Feature: export HTML block

* Feature: Block html export markdown, PDF, HTML

* bugfix: judge block html more strictly

* Bugfix: adjust cursor in source code mode when cursor is in block html
2018-04-07 22:08:24 +08:00
Jocs
42179e1c0f Optimization: user preference 2018-04-04 11:32:43 +08:00
Felix Häusler
571d3ea7a3 bugfix: #100 update outdated preferences on startup (#102) 2018-04-04 10:37:27 +08:00
Felix Häusler
23cfc1199b enable frameless window on Linux (#115) 2018-04-04 10:29:48 +08:00
Jocs
b797a3328f Bugfix: float box not hide when there is not recommanded files 2018-04-01 13:05:45 +08:00
Jocs
efe58c7835 Bugfix: Can not select emoji 2018-04-01 12:09:55 +08:00
Jocs
13f4164b32 Bugfix: Can not display math block in exported HTML and PDF 2018-04-01 10:31:02 +08:00
Jocs
91918dccd8 Optimization: watch image path change and rebuild the cache 2018-04-01 02:21:30 +08:00
Jocs
fd963f7b00 Optimization: A closing sequence of # characters is optional when
write ATX heading
2018-04-01 01:23:37 +08:00
Jocs
bc275032c5 Optimization: More than six # characters is not a heading
So we don't need to highlight `#`
2018-04-01 00:29:27 +08:00
Jocs
b3ce25d630 Optimization: Obey the GFM and optimization of thematic break update. 2018-04-01 00:16:58 +08:00
Jocs
379ffbddbc Bugfix: #112 2018-03-31 22:16:21 +08:00
Jocs
aab3c652c5 Bugfix: can not empty the content in source code mode #105 2018-03-31 18:37:27 +08:00
Jocs
fb057ee825 Bugfix: #107 2018-03-31 18:16:45 +08:00
Felix Häusler
723fec398b Allow exiting full screen with maximize button on windows (#109) 2018-03-31 17:33:02 +08:00
Jocs
412e277e82 Optimization: Use 'fuzzaldrin' to filter language when insert code block 2018-03-31 00:47:38 +08:00
Jocs
eb41ea06ff Bugfix: Caret can not move right when it's at the end of math format. #101 2018-03-31 00:16:10 +08:00
冉四夕
01903bd0ff
Feature: Toggle loose list item in paragraph menu (#103)
1. fix task list not work
2. fix order list not work
3. fix output unstylish html error
2018-03-30 23:48:06 +08:00
Felix Häusler
4d7d850969 Add loose and tight list compatibility (#74)
* Add loose and tight list compatibility

* Fix 'false' preference booleans are not handled
2018-03-30 01:52:54 +08:00
Jocs
e594705223 Remove unused console.log 2018-03-30 01:51:08 +08:00
冉四夕
7e884b1f10
Image path auto complement (#96)
* Image path auto complement

* Update: CHANGELOG and DOTOLIST
2018-03-30 01:03:33 +08:00
冉四夕
c00083bcc5
feature: Basic use of inline and display math #36 (#89)
* feature: Basic use of inline and display math

* Opti: add locale en to element-ui

* Feature: copy and paste in math block
2018-03-29 23:51:56 +08:00
Felix Häusler
582636721e Fix crash on first launch (#78, #90) (#93) 2018-03-29 17:45:08 +08:00
Felix Häusler
05ddf6374c Debug cleanup (#85) 2018-03-28 15:03:32 +08:00
Jocs
60ac2b675b Opti: hide aidou by default. You still can enable it in user preferences. 2018-03-27 22:48:54 +08:00
Jocs
3d17785d95 bugfix: #63 2018-03-27 22:27:57 +08:00
Jocs
95342cd3ab Merge branch 'master' of github.com:marktext/marktext 2018-03-27 13:24:50 +08:00
Jocs
347e3faaa8 bugfix: #81 cursor error when change source mode to real time mode 2018-03-27 13:23:53 +08:00
Felix Häusler
9d8f09af6b Add utf-8 encoding to unstylish html (#82) 2018-03-27 10:19:07 +08:00
Jocs
031e83533b bugfix: #81 2018-03-27 00:48:40 +08:00
Jocs
d0fe613135 Bugfix: #55 2018-03-25 04:18:05 +08:00
Jocs
d7d21b5448 Feature: rename filename 2018-03-24 22:13:50 +08:00
Jocs
579220bbd8 Opti: If user click move to when the file is not save, show save dialog directly 2018-03-24 20:04:27 +08:00
Davis Riedel
a88fe322b4 Added move to (#72)
* Added move to

* Fixes
2018-03-24 19:47:43 +08:00
Felix Häusler
a115a0df7b Fix css and table dialog style (#73) 2018-03-24 18:50:41 +08:00
Jocs
216c5226c2 Update: DOTO LIST 2018-03-24 17:15:37 +08:00
Jocs
fdd22a893d Opti: can set color independently in dark and light theme 2018-03-23 22:56:48 +08:00
Felix Häusler
975d8f2399 Change "确定" to "OK" (#66) 2018-03-23 22:23:20 +08:00
Jocs
2d5ccd7575 Opti: little optimization 2018-03-23 19:27:07 +08:00
Jocs
0b08429436 feature: add fontSize, lineHeight, color setting in the view menu.
You can also change them in use preferences.
2018-03-23 18:54:19 +08:00
Felix Häusler
e3340e14a2 Added 'Mark Text' menu for Linux and Windows (#59)
* Add 'Mark Text' menu for Linux and Windows

* Add about dialog for linux and windows
2018-03-23 18:27:17 +08:00
Tatsuya Tanaka
edd4b07e92 Add swift syntax highlighting (#57) 2018-03-22 23:44:12 +08:00
Felix Häusler
78094dc2a8 Add drag & drop support for markdown files (#50) 2018-03-22 10:12:11 +08:00
Jocs
11c01b186a feature: add logger #52 2018-03-22 01:10:10 +08:00
Felix Häusler
90ea35ac68 fix: fix home path on windows (#47) 2018-03-21 19:00:45 +08:00
Jocs
6e856735ab fix the crash 2018-03-21 18:27:36 +08:00
Jocs
39f5400544 feat: user preference and fix issues #45 #16 2018-03-21 17:11:18 +08:00
Felix Häusler
3e28b7e328 fix #44: set application menu offset without window position (#46) 2018-03-21 10:37:26 +08:00
Jocs
cb6eec76e0 fix: set theme to all the open window not just the active one. 2018-03-20 23:15:30 +08:00
Jocs
bf4c140981 fix: prevent open image or file directly when drag and drop over Mark Text #42 2018-03-20 21:47:13 +08:00
Jocs
3d0aa0ba02 bugfix: escape the raw markdown text when parse it to AST. #37 2018-03-20 17:40:09 +08:00
Sandro Jäckel
35e0958ff9 Added "Open with..." on Windows (#25)
* Opti: hotkey of typewriter | source code | focus changed. #15

typewriter: Alt + Cmd + T => Shift + Cmd + T
Source code: Alt + Cmd + S => Shift + Cmd + S
focus: Alt + Cmd + M => Shift + Cmd + F

* Added "Open with..." on Windows
2018-03-20 17:08:12 +08:00
冉四夕
2c6e47225d
Merge pull request #29 from notAlaanor/master
add frame for linux platform
2018-03-20 16:56:10 +08:00
Jocs
207c31a477 bugfix: little bug in typewriter mode 2018-03-20 16:20:02 +08:00
Jocs
203a6ba538 Bugfix: remove the symbol in output styled html. #41
1. update css-tree to latest version.
2. Add lineWrapping is true to codeMirror config
2018-03-20 11:24:00 +08:00
Jocs
085f4d1a80 Opti: hotkey of typewriter | source code | focus changed. #15
typewriter: Alt + Cmd + T => Shift + Cmd + T
Source code: Alt + Cmd + S => Shift + Cmd + S
focus: Alt + Cmd + M => Shift + Cmd + F
2018-03-20 10:23:01 +08:00
notAlaanor
1d9d2c5e8f Merge remote-tracking branch 'refs/remotes/marktext/master' 2018-03-20 10:49:37 +11:00
notAlaanor
d5d98c90e3 remove brackets 2018-03-20 10:40:56 +11:00
Jocs
5af991fad9 Opti: hotkey of typewriter | source code | focus changed. #15
typewriter: Alt + Cmd + T => Shift + Cmd + T
Source code: Alt + Cmd + S => Shift + Cmd + S
focus: Alt + Cmd + M => Shift + Cmd + F
2018-03-20 00:56:07 +08:00
Jocs
e9b80556a3 bugfix: fix the bug that language highlight in code block is disappear when open markdown file with code block. 2018-03-19 23:21:18 +08:00
Jocs
5384355a8c feature: Add file icons to languages when create code block and change the language in code block. 2018-03-19 19:40:46 +08:00
notAlaanor
1fa183b205 Revert "fix"
This reverts commit c4a268df33.
2018-03-19 18:57:57 +11:00
kepler0
c4a268df33
fix 2018-03-19 15:57:42 +11:00
kepler0
0848f0d94c
add frame for linux platform 2018-03-19 15:54:53 +11:00
Jocs
ee85c9a326 Opti: update dep and style of image symtax 2018-03-18 21:16:12 +08:00
Sandro Jäckel
1329288d76
Fixed changelog URL 2018-03-18 10:22:55 +01:00
Jocs
68be26d190 feature: Insert Image
1. Abusolute path
2. relative path
3. Upload Image to Cloud
2018-03-18 03:02:35 +08:00
Jocs
1390db4d83 feature: autoupdate 2018-03-17 17:15:09 +08:00
Jocs
a45bc824be update readme 2018-03-16 00:16:15 +08:00
Jocs
69ce57d1ad Bug:
1. It's hard to focus the input in code fence.
2. When input the language in code block, click the language item will not cause hide the float box.
3. other bugs in code block.
2018-03-15 16:31:50 +08:00
kepler0
7dd0104685
assign platform state directly 2018-03-15 13:14:53 +11:00
kepler0
bdd78bce60
remove platform dispatch 2018-03-15 13:13:51 +11:00
Daniel
82162612ba fix app 2018-03-14 21:03:25 +11:00
Daniel
22be088df0 merge from master 2018-03-14 20:43:58 +11:00
Daniel
9d3951cf1c revise app-drawn window controls 2018-03-14 20:36:22 +11:00
Jocs
1762b1ab94 test travis 2018-03-13 10:48:47 +08:00
冉四夕
f8028fd163 Merge pull request #10 from notAlaanor/master
add windows build support
2018-03-11 23:51:30 +08:00
Daniel
c8323cd4e1 add app-drawn windows titlebar 2018-03-11 19:00:04 +11:00
Daniel
ca55643059 add windows platform support 2018-03-10 17:24:08 +11:00
Jocs
b8ed57ae8d feat: source code mode support insert doutu picture 2018-03-10 01:28:15 +08:00
Jocs
574625003a opti: little change 2018-03-10 00:11:24 +08:00
Jocs
dcb409f481 feat: add collection of dotu 2018-03-08 23:02:31 +08:00
Jocs
9ca2775df7 opti: add search history of dotu 2018-03-08 03:09:15 +08:00
Jocs
11d67c083e opti: change the image text color and letter space 2018-03-07 22:34:19 +08:00
Jocs
53741d9b01 bugfix: bug description: Press ESC after search, the selection dosent set to the last hightlight word. 2018-03-07 21:34:03 +08:00
Jocs
04a160f5a9 fix: fix the bug the editor will lose cursor after input Chinese 2018-03-07 11:11:51 +08:00
Jocs
ca9fc76d2b feat: doutu 2018-03-06 21:09:35 +08:00
Jocs
9e65e391e9 bug: fix the bug that search key in the code block will cause the search input lose focus 2018-03-05 10:30:24 +08:00
Jocs
2e8149a9b3 opti: change the scroll bar background color 2018-03-05 00:41:01 +08:00
Jocs
12c22ce588 feat: add dark theme and light theme 2018-03-04 21:05:46 +08:00
Jocs
590f49cf24 opti: delete some unused code 2018-03-03 23:36:41 +08:00
Jocs
906a6fb61d opti: optimize the useage of event center 2018-03-03 18:10:13 +08:00
Jocs
f47878f87a set cursor when editor change mode 2018-03-03 17:36:13 +08:00
Jocs
0e9bd1140e bugfix: set focus mode and typewriter mode when create editor 2018-03-03 09:39:42 +08:00
Jocs
a77cf47ea0 feat: source code mode 2018-03-03 02:30:06 +08:00
Jocs
2ff0137b97 feat: focus mode 2018-03-02 17:56:20 +08:00
Jocs
993bd6cfdb feat: type writer mode 2018-03-02 01:59:49 +08:00
Jocs
d59702bb13 feat: search value, find next find prev 2018-03-01 20:50:11 +08:00
Jocs
f30cbfd837 opti:title bar and task list checkbox style optimization 2018-02-28 16:00:10 +08:00
Jocs
d807b521ec bug fixed 2018-02-27 14:05:50 +08:00
Jocs
bfdfc7e183 opti: optimization the table tool bar style and float box style 2018-02-26 18:36:27 +08:00
Jocs
56d3d9287b bugfix: 1. auto focus when add table. 2. arrow left and up is unavailable when cursor in first cell in table 2018-02-25 22:15:41 +08:00
Jocs
2870be80af opti: optimize output PDF file, delete cursor etc 2018-02-24 19:27:25 +08:00
Jocs
3dd4dec02e feat: export PDF 2018-02-24 18:05:56 +08:00
Jocs
96d9a510fa bugfix: fix the style problem when code block in list item 2018-02-23 19:02:31 +08:00
Jocs
309ece1e0c feat: update print menu item 2018-02-23 12:56:45 +08:00
Jocs
e4075cb98b feat: add open recent menu 2018-02-23 11:07:09 +08:00
Jocs
3c5f4ddebd feat: add dock menu 2018-02-23 00:53:07 +08:00
Jocs
54b140681f fix the problem that can not copy single line text 2018-02-22 19:48:04 +08:00
Jocs
13a521543e feat: add aganippe to open with 2018-02-19 18:16:04 +08:00
Jocs
d00d2ad208 bug fix: checkbox now can be clicked 2018-02-17 03:00:43 +08:00
Jocs
fea3afb056 feat: paragraph menu 2018-02-17 02:47:46 +08:00
Jocs
52c9f6dde7 feat: add paragraph menu item checked status 2018-02-12 23:53:42 +08:00
Jocs
3e412b88ef bug fix 2018-02-12 20:42:29 +08:00
Jocs
d23e4a3f8c feat: inline formats 2018-02-12 20:04:27 +08:00
Jocs
fdf0eab97e feat: add util, transform tokens to markdown text 2018-02-12 00:05:41 +08:00
Jocs
8a37a18ae9 bugfix: fix the bug that a link in output styled html can not be click 2018-02-11 22:49:04 +08:00
Jocs
88db1f79f7 feat: add shotcut 2018-02-08 20:58:51 +08:00
Jocs
5a9c9c3ced feat: handle tab key in table 2018-02-07 23:34:46 +08:00
Jocs
e0d7c45363 feat: paragraph menu::horizontal line 2018-02-07 22:47:31 +08:00
Jocs
85c204721e bugfix: fix the bug when use arrow up and down dosent work 2018-02-07 00:17:33 +08:00
Jocs
28d7b161b5 feat: paragraph menu item 2018-02-05 20:38:57 +08:00
Jocs
a546e47f24 bug: all bug caused by table syntax 2018-02-05 00:03:22 +08:00
Jocs
125f03e1d7 bug: fix the bug backspace in table 2018-02-04 22:28:38 +08:00
Jocs
e6fcdda5e0 feat: enable paragraph menu and disable paragraph menu 2018-02-04 21:46:57 +08:00
Jocs
0f5d5c4734 feat: insert table by menu 2018-02-04 17:50:45 +08:00
Jocs
b6a5f1354b feat: handle selection cut in table 2018-02-04 02:09:40 +08:00
Jocs
5c5f1317ec table export 2018-02-04 01:12:05 +08:00
Jocs
b400766c1b feat: import markdown with table 2018-02-03 21:44:31 +08:00
Jocs
914b07a525 feat: output markdown 2018-02-03 01:27:38 +08:00
Jocs
00a9cfed73 bug: little bug fix 2018-02-02 13:09:15 +08:00
Jocs
c3fff1c0ea feat: fineshed table resize 2018-02-02 12:44:40 +08:00
Jocs
dfa27d6463 table resize 2018-02-02 02:50:06 +08:00
Jocs
2e73062cb4 feat: align and delete in table tool bar 2018-02-01 21:39:46 +08:00
Jocs
9f5f1ed1d9 feat: table hand metakey + enter 2018-02-01 00:43:30 +08:00
Jocs
e6147423df table handle enter 2018-02-01 00:15:09 +08:00
Jocs
6ee3570be9 feat: table backspace in table 2018-01-31 21:24:16 +08:00
Jocs
ed7bb830c2 update todo list 2018-01-30 22:46:44 +08:00
Jocs
7bd04a097e feat: export unstylish html 2018-01-27 23:47:40 +08:00
Jocs
8609e4d4db feat: export html with style 2018-01-27 03:00:57 +08:00
Jocs
f355874885 fix the bug when task list at the first paragraph 2018-01-26 22:54:39 +08:00
Jocs
d6fb921e79 feat: finish task list 2018-01-21 00:38:05 +08:00
Jocs
a4e973e5e0 feat: handle cut and paste of task list item 2018-01-20 18:05:06 +08:00
Jocs
b4565b2344 feat: task list item ckeckbox can be click now 2018-01-20 17:13:54 +08:00
Jocs
7e830a00b9 feat: task list surport import and export markdown 2018-01-20 01:28:07 +08:00
Jocs
fc49adc49a feat: export tast list 2018-01-12 00:41:39 +08:00
Jocs
b2702a8428 feat: arrow in paragraph 2018-01-10 22:41:01 +08:00
Jocs
4055f1f136 feat: press enter and backspace in task list item 2018-01-04 01:44:03 +08:00
Jocs
b424b9d49e feat: half done of task list item 2018-01-03 00:51:31 +08:00
Jocs
166dc2e271 bug: fix the bug that can not copy the content in bracket of inline line syntax 2018-01-02 23:39:43 +08:00
Jocs
3c95433aba bug: fix the bug that when two paragraphs in one list item, delete one cause another paragraph been deleted 2018-01-02 18:13:15 +08:00
Jocs
c122ac8a31 bug: handle input when there is still select content 2018-01-02 16:10:53 +08:00
Jocs
37722cfc9b bug: fix the bug that unexpect delete all editor when selection start is code block 2018-01-02 11:48:28 +08:00
Jocs
f90763fe54 bug: fix can not copy in code block 2018-01-02 00:05:46 +08:00
Jocs
977c37d82e bug: fix the bug when the begining block is code block, can not copy 2018-01-01 23:47:54 +08:00
Jocs
a0e1e68b4d style: optimization 2018-01-01 20:25:10 +08:00
Jocs
8b022ca462 bug: hide float box when scroll 2018-01-01 19:58:27 +08:00
Jocs
5962745bc1 bug: fix the bug that unexpect \ added 2017-12-31 17:50:41 +08:00
Jocs
ac7b0bb4b9 docu: add to do list 2017-12-29 19:18:34 +08:00
Jocs
aac3a6beb3 bug: fix the bug when open file, the word count is zero, not the real word count 2017-12-29 18:50:41 +08:00
Jocs
d59af4d5ee feat: listen the copy and cut event, and set clipboard data of the selection html 2017-12-29 18:28:02 +08:00
Jocs
434aa3d335 issue: found two bug 2017-12-29 01:34:30 +08:00
Jocs
44c56bd573 feat: paste, change the marker tag-a to tag-span, in order to use the turndown 2017-12-28 20:42:28 +08:00
Jocs
b945e2e198 feat: paste function, when paste content with inline rule, stil has bug 2017-12-28 16:13:06 +08:00
Jocs
fd52c90373 feat: word count 2017-12-26 23:52:11 +08:00
Jocs
8125cc5db7 bug: fix the bug when rerender the pre block breakdown 2017-12-26 16:06:21 +08:00
Jocs
1c9c23625a opti: add offset to the dialog 2017-12-26 00:26:49 +08:00
Jocs
dd8d9a2890 bug: fix 2017-12-25 23:46:15 +08:00
Jocs
708508740f bug: fix 2017-12-25 23:16:42 +08:00
Jocs
83f1b1e9cb bug: fix 2017-12-25 22:50:42 +08:00
Jocs
092d4d96ac bug: if you are edit Chinese, press enter should not create a new line 2017-12-25 22:44:12 +08:00
Jocs
a1b2431439 typo error 2017-12-25 22:21:25 +08:00
Jocs
777f732200 typo error 2017-12-22 19:01:30 +08:00
Jocs
7f0c67d822 fix typo error 2017-12-22 18:04:50 +08:00
Jocs
f73abbd157 feat: prevent reload in production 2017-12-22 01:09:19 +08:00
Jocs
dae27c393a feat: if you change content but not save, give a popup 2017-12-22 00:15:26 +08:00
Jocs
87611ff2d8 bug: some bugs fix 2017-12-21 00:26:36 +08:00
Jocs
dfdaf17c91 feat: handle enter selected multiple lines 2017-12-20 23:00:53 +08:00
Jocs
74281fbd02 bug fix 2017-12-19 10:14:23 +08:00
Jocs
ad25585406 feat: handle backspace when selection multiple lines 2017-12-19 00:49:37 +08:00
Jocs
d0a61241c8 bug: fix the bug selection can not begin from the right to the left 2017-12-18 10:58:05 +08:00
Jocs
d5a715cc3a opti: redefined cursor data structure 2017-12-18 00:45:24 +08:00
Jocs
865bbf4203 1. Optimized user experience to start editing codeblock 2017-12-16 10:34:28 +08:00
Jocs
15a503b751 opti: optimization language name in code fence 2017-12-15 19:43:09 +08:00
Jocs
3e78532bdd opti: change icon 2017-12-15 16:34:10 +08:00
Jocs
c80b7c794d bug: do not use resolve align 2017-12-15 13:33:58 +08:00
Jocs
af0fc82f1e bug: Fix the problem when editor can't surpport hr block when import and export markdown format 2017-12-15 11:06:25 +08:00
Jocs
8d55ddcd66 feat: history 2017-12-14 23:28:28 +08:00
Jocs
3fa2a07b04 feat: undo except code block 2017-12-14 21:14:21 +08:00
Jocs
807da16c53 feat: Save as 2017-12-14 15:36:14 +08:00
Jocs
fe691f0509 bug: fix cursor wrong position 2017-12-14 00:02:21 +08:00
Jocs
ce9277f3c8 bug: fixed code block render at every render time 2017-12-13 21:58:32 +08:00
Jocs
90c6001d53 bug: fixed image rerender at every render time 2017-12-13 21:28:40 +08:00
Jocs
7b4becdce9 opti: update TODO list 2017-12-13 14:13:06 +08:00
Jocs
970f149b7f handle local path 2017-12-12 18:35:51 +08:00
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