From 050d4aadc9134cc4725e67d7a00a9293b2b28d46 Mon Sep 17 00:00:00 2001 From: "@redimpulz.s.uechi" Date: Thu, 23 May 2019 10:56:08 +0900 Subject: [PATCH 1/5] recovered autofocus props loss on README-EN.md --- README-EN.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README-EN.md b/README-EN.md index 74d50ea7d..983d9bc19 100644 --- a/README-EN.md +++ b/README-EN.md @@ -118,6 +118,7 @@ export default { | toolbarsFlag | Boolean | true | Show toolbars | | navigation | Boolean | false | Show navigation | | shortCut | Boolean | true | shortcut switch | +| autofocus | Boolean | true | Autofocus on textbox | | ishljs | Boolean | true | highlight code switch | | imageFilter | Function | null | Image file filter Function, params is a `File Object`, you should return `Boolean` about the test result | | imageClick | function | null | Image Click Function | From c7b5cafa8c8343e67fa5035f08408c3dc2ce80a2 Mon Sep 17 00:00:00 2001 From: "@redimpulz.s.uechi" Date: Thu, 23 May 2019 11:05:31 +0900 Subject: [PATCH 2/5] changed install command https://blog.npmjs.org/post/161081169345/v500 --- README-EN.md | 7 ++++++- README.md | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README-EN.md b/README-EN.md index 983d9bc19..23e67b22d 100644 --- a/README-EN.md +++ b/README-EN.md @@ -17,8 +17,13 @@ ## Use Setup ### Install mavon-editor +#### For `npm` user ``` -$ npm install mavon-editor --save +$ npm install mavon-editor +``` +#### For `yarn` user +``` +$ yarn add mavon-editor ``` ### Use diff --git a/README.md b/README.md index 74bfc1dbd..b4f1da936 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,14 @@ ### Install mavon-editor (安装) +#### For `npm` user ``` -$ npm install mavon-editor --save +$ npm install mavon-editor +``` + +#### For `yarn` user +``` +$ yarn add mavon-editor ``` ### Use (如何引入) From e4c098ba427d26eda585f2f86c45318bde264bf2 Mon Sep 17 00:00:00 2001 From: "@redimpulz.s.uechi" Date: Thu, 23 May 2019 12:45:51 +0900 Subject: [PATCH 3/5] fixed japanese sentences --- src/lib/lang/ja/help_ja.md | 29 +++++++++++---------- src/lib/lang/ja/words_ja.json | 48 +++++++++++++++++------------------ 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/src/lib/lang/ja/help_ja.md b/src/lib/lang/ja/help_ja.md index 353bf9363..205f1d0a0 100644 --- a/src/lib/lang/ja/help_ja.md +++ b/src/lib/lang/ja/help_ja.md @@ -1,6 +1,6 @@ -@[toc](Catalog) +@[toc](目次) -Markdown Guide +Markdown 文法ガイド === > Detailed: [http://commonmark.org/help/](http://commonmark.org/help/) @@ -9,10 +9,10 @@ Markdown Guide **太字** __太字__ ``` -## *イタリック* +## *斜体* ``` -*イタリック* -_イタリック_ +*斜体* +_斜体_ ``` ## 見出し ``` @@ -33,7 +33,7 @@ h2 --- ``` **** -## ^上付き^文字 & ~添~文 +## ^上付き^文字 & ~下付き~文字 ``` super x^2^ sub H~2~0 @@ -43,7 +43,7 @@ sub H~2~0 ++underline++ ~~strikethrough~~ ``` -## ==マーク== +## ==蛍光ペン== ``` ==mark== ``` @@ -58,13 +58,13 @@ sub H~2~0 ## リスト ``` -ol +番号付きリスト 1. 2. 3. ... -ul +箇条書きリスト - - ... @@ -115,6 +115,7 @@ int main() | :-- | :--: | ----: | | left | center | right | | ---------------------- | ------------- | ----------------- | + ## 脚注 ``` hello[^hello] @@ -125,7 +126,7 @@ Look at the bottom[^hello] [^hello]: footnote ## 絵文字 -Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/) +> Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/) ``` :laughing: :blush: @@ -135,12 +136,12 @@ Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpa ``` :laughing::blush::smiley::) -## $\KaTeX$ Mathematics +## $\KaTeX$ 数式 +> Detailed: [KaTeXマニュアル](http://www.intmath.com/cg5/katex-mathjax-comparison.php)、[KaTeX function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)、[LaTeXマニュアル](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference) -We can render formulas for example:$x_i + y_i = z_i$ and $\sum_{i=1}^n a_i=0$ +We can render formulas for example:$x_i + y_i = z_i$ and $\sum_{i=1}^n a_i=0$ We can also single-line rendering $$\sum_{i=1}^n a_i=0$$ -Detailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference) ## レイアウト @@ -162,7 +163,7 @@ Detailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[ka `:::` ::: -## deflist +## 定義リスト Term 1 diff --git a/src/lib/lang/ja/words_ja.json b/src/lib/lang/ja/words_ja.json index 6a6b750c1..2146aa4f8 100644 --- a/src/lib/lang/ja/words_ja.json +++ b/src/lib/lang/ja/words_ja.json @@ -1,54 +1,54 @@ { - "start_editor": "編集を始てね!", + "start_editor": "編集を始めてね!", "navigation_title": "ナビゲーション", "tl_bold": "太字", - "tl_italic": "イタリック", + "tl_italic": "斜体", "tl_header": "見出し", "tl_header_one": "見出し1", "tl_header_two": "見出し2", "tl_header_three": "見出し3", "tl_header_four": "見出し4", "tl_header_five": "見出し5", - "tl_header_six": "見出 6", + "tl_header_six": "見出し6", "tl_underline": "下線", "tl_strikethrough": "取り消し線", - "tl_mark": "マーク", + "tl_mark": "蛍光ペン", "tl_superscript": "上付き文字", - "tl_subscript": "添字", + "tl_subscript": "下付き文字", "tl_quote": "引用", - "tl_ol": "Ol", - "tl_ul": "Ul", + "tl_ol": "番号付きリスト", + "tl_ul": "箇条書きリスト", "tl_link": "ハイパーリンク", "tl_image": "画像のリンク", - "tl_code": "コード", - "tl_table": "テーブル", + "tl_code": "コードの挿入", + "tl_table": "表の挿入", "tl_undo": "戻る", "tl_redo": "進む", - "tl_trash": "消去", + "tl_trash": "削除", "tl_save": "保存", - "tl_navigation_on": "ナビゲーションオン", - "tl_navigation_off": "ナビゲーションオフ", + "tl_navigation_on": "ナビゲーションを表示", + "tl_navigation_off": "ナビゲーションを非表示", "tl_preview": "プレビュー", - "tl_aligncenter": "真ん中のテキスト", - "tl_alignleft": "テキストを左に固定", - "tl_alignright": "テキストを右に固定", + "tl_aligncenter": "中央揃え", + "tl_alignleft": "左揃え", + "tl_alignright": "右揃え", "tl_edit": "編集", "tl_single_column": "一列", "tl_double_column": "二列", - "tl_fullscreen_on": "フルスクリーンオン", - "tl_fullscreen_off": "フルスクリーンオフ", + "tl_fullscreen_on": "全画面表示", + "tl_fullscreen_off": "全画面表示の終了", "tl_read": "モデルの読み込み", - "tl_html_on": "HTML ON", - "tl_html_off": "HTML OFF", + "tl_html_on": "HTMLで表示", + "tl_html_off": "HTML表示の終了", "tl_help": "ヘルプ", "tl_upload": "画像をアップロード", - "tl_upload_remove": "削除", + "tl_upload_remove": "画像の削除", "tl_popup_link_title": "リンクの追加", - "tl_popup_link_text": "テキストのリンク", - "tl_popup_link_addr": "アドレスのリンク", + "tl_popup_link_text": "リンクテキスト", + "tl_popup_link_addr": "リンク先のURL", "tl_popup_img_link_title": "画像の追加", - "tl_popup_img_link_text": "画像の名前", - "tl_popup_img_link_addr": "画像のアドレス", + "tl_popup_img_link_text": "画像タイトル", + "tl_popup_img_link_addr": "画像URL", "tl_popup_link_sure": "OK", "tl_popup_link_cancel": "戻る" } From 238e533fdd960ec21554b9557310429b9dcbbac6 Mon Sep 17 00:00:00 2001 From: "@redimpulz.s.uechi" Date: Thu, 23 May 2019 13:48:21 +0900 Subject: [PATCH 4/5] i forgot separating changes by PR --- README-EN.md | 7 +------ README.md | 8 +------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/README-EN.md b/README-EN.md index 23e67b22d..983d9bc19 100644 --- a/README-EN.md +++ b/README-EN.md @@ -17,13 +17,8 @@ ## Use Setup ### Install mavon-editor -#### For `npm` user ``` -$ npm install mavon-editor -``` -#### For `yarn` user -``` -$ yarn add mavon-editor +$ npm install mavon-editor --save ``` ### Use diff --git a/README.md b/README.md index b4f1da936..74bfc1dbd 100644 --- a/README.md +++ b/README.md @@ -25,14 +25,8 @@ ### Install mavon-editor (安装) -#### For `npm` user ``` -$ npm install mavon-editor -``` - -#### For `yarn` user -``` -$ yarn add mavon-editor +$ npm install mavon-editor --save ``` ### Use (如何引入) From 22b679ccf17ff4d17535e133d7f4229d0c7a3580 Mon Sep 17 00:00:00 2001 From: "@redimpulz.s.uechi" Date: Thu, 23 May 2019 13:55:08 +0900 Subject: [PATCH 5/5] i forgot separating changes by PR --- README-EN.md | 8 +------- README.md | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/README-EN.md b/README-EN.md index 23e67b22d..74d50ea7d 100644 --- a/README-EN.md +++ b/README-EN.md @@ -17,13 +17,8 @@ ## Use Setup ### Install mavon-editor -#### For `npm` user ``` -$ npm install mavon-editor -``` -#### For `yarn` user -``` -$ yarn add mavon-editor +$ npm install mavon-editor --save ``` ### Use @@ -123,7 +118,6 @@ export default { | toolbarsFlag | Boolean | true | Show toolbars | | navigation | Boolean | false | Show navigation | | shortCut | Boolean | true | shortcut switch | -| autofocus | Boolean | true | Autofocus on textbox | | ishljs | Boolean | true | highlight code switch | | imageFilter | Function | null | Image file filter Function, params is a `File Object`, you should return `Boolean` about the test result | | imageClick | function | null | Image Click Function | diff --git a/README.md b/README.md index b4f1da936..74bfc1dbd 100644 --- a/README.md +++ b/README.md @@ -25,14 +25,8 @@ ### Install mavon-editor (安装) -#### For `npm` user ``` -$ npm install mavon-editor -``` - -#### For `yarn` user -``` -$ yarn add mavon-editor +$ npm install mavon-editor --save ``` ### Use (如何引入)