Commit Graph

524 Commits

Author SHA1 Message Date
Jocs
faf65e8eca optimization: add postcss to write css 2018-05-30 18:05:26 +08:00
Jocs
a3a0c80d33 optimization: move icons and windows folders to static folder 2018-05-29 23:42:25 +08:00
Jocs
2259a6e5fd add windows installer.nsh 2018-05-29 23:19:16 +08:00
Jocs
44694e709c update package.json 2018-05-29 23:11:52 +08:00
Jocs
ef955667b5 release: v 0.11.42 2018-05-29 22:21:38 +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
Eduardo J
5bfa9711b8 Fix 'downlaod' typo (#285) 2018-05-21 10:06:47 +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
dc89a7f5cc Update documentation (#279) 2018-05-20 00:03:29 +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
King Luo
7c891f5fbc modify a wrong word (#275) 2018-05-18 21:45:55 +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
ScratchBuild
f7c52af8f4 Update Japanese readme (#266)
Minor Fixes
2018-05-16 10:45:53 +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
f56c2f35ae bugfix: #251 2018-05-12 21:31:12 +08:00
Jocs
342565ccff bugfix: #251 2018-05-12 21:27:40 +08:00
冉四夕
e7d76e2785
Partial render (#258)
* delete some unused codes

* optimization: rewrite getUniqueId in editor/util/index.js

* delete some unused codes

* replace all partialRender to new one

* delete debug code
2018-05-12 20:52:24 +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