Commit Graph

16 Commits

Author SHA1 Message Date
Felix Häusler
2686cfafe4 Update deps and automatically format style (#1168) 2019-07-24 10:57:21 +08:00
Ran Luo
b925f7d637 fix: cut not work on mobile devices (#1162) 2019-07-22 17:22:24 +02:00
Ran Luo
164e9a1d87
fix: insert image by image uploader, but can not copy and paste, because it is render the local url (#1070) 2019-06-07 12:31:18 +08:00
Ran Luo
0cfe79fb07 fix: #1046 (#1048) 2019-05-29 00:04:40 +02:00
Ran Luo
230c90c920
container block preview and inline syntax error (#992)
* opti: container block preview

* remove unused codes

* rewrite createBlock method

* remove ag-line classname

* just push codes

* hand enter + shift in paragraph

* update import markdown and export markdown

* update part updateCtrl

* update indent code block

* auto indent when press shift + enter

* update thematic break

* update inline syntax update reg

* update list and task list

* update atx heading and setext heading

* update paragraph

* update block quote

* adjust cursor in heading

* update codes

* paragraph turn into feature check

* check copy paste

* update turn into

* fix: delete last # error

* fix: turn setext heading to atx heading error

* fix: delete thematic break error

* paste and copy

* workarond turndown to support soft line break

* fix: unable create table

* modify export markdown

* modify test markdown

* fix: cursor error when update blockquote

* readd cursor check when dispatch changes

* fix: inline math create a lot extra char

* add code cache clear after each render

* fallback to prismjs2
2019-05-04 23:41:46 +08:00
Ran Luo
d71647fc9a opti: style in editor (#969)
* opti: style in editor

* change float box shadow

* add border to float box

* little code opti

* opti image style

* update style

* change code block bg color

* fix: update style

* opti codes
2019-04-26 22:33:29 +02:00
Ran Luo
ef59a74380
feat: support copy rich text (#904)
* feat: support copy rich text

* update changelog
2019-04-11 09:28:04 +08:00
Felix Häusler
1c4ec7cae4 add list indentation settings (#900) 2019-04-10 22:43:21 +08:00
Ran Luo
5d748eb196 support ruby and better raw html display (#849)
* support ruby and better raw html display

* finish ruby render

* add kbd style

* if content is empty string, do not hide tag

* update changelog

* add auto complement to inline html

* opti slit words

* opti tool bar style

* support open inline a tag if it is a external link

* fix: auto complete

* add attribute white list

* add comment

* delete some commented codes
2019-04-03 20:31:34 +02:00
Ran Luo
4c3da0c298 little optimization of copy paste (#833) 2019-03-29 22:15:31 +01:00
Ran Luo
c332e71f69
fix: #705 (#714)
* fix: #705

* remove debug codes

* fix nested list and multiple paragraphs
2019-03-17 17:51:20 +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
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
0c770bb403 opti: remove unused dependence cheerio 2018-10-18 11:07:59 +08:00
Jocs
79866a4604 opti: delete some unused codes 2018-09-22 12:16:02 +08:00
Ran Luo
405d04ce19
package and release muya (#413) 2018-07-07 00:10:30 +08:00