From 14b26c8d8bafff6c310c71d7d70715246f5bda25 Mon Sep 17 00:00:00 2001 From: lenvi Date: Tue, 17 Mar 2020 23:35:42 +0530 Subject: [PATCH 1/3] docs(readme): add keyboard shortcuts - #244 Signed-off-by: lenvi --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/README.md b/README.md index 5c29394..96fbc33 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,50 @@ The editor includes a formatting toolbar. This component is Apache-2 licensed Open Source. Contributors welcome! +### Keyboard shortcuts + +The keyboard shortcuts are as follows + +Windows/Linux: + +- Common actions + - `CTRL` + `C` - Copy + - `CTRL` + `X` - Cut + - `CTRL` + `V` - Paste + - `CTRL` + `Z` - Undo + - `CTRL` + `SHIFT` + `Z` - Redo + - `CTRL` + `Y` - Repeat last action + +- Text formatting + - `CTRL` + `B` - Bold + - `CTRL` + `I` - Italicize + - `CTRL` + `Q` - Block quotes + - `CTRL` + `SHIFT` + `9` - Code + +- Paragraph formatting + - `CTRL` + `SHIFT` + `7` - Numbered list + - `CTRL` + `SHIFT` + `8` - Bulleted list + +Mac: + +- Common actions + - `⌘` + `C` - Copy + - `⌘` + `X` - Cut + - `⌘` + `V` - Paste + - `⌘` + `Z` - Undo + - `⌘` + `SHIFT` + `Z` - Redo + - `⌘` + `Y` - Repeat last action + +- Text formatting + - `⌘` + `B` - Bold + - `⌘` + `I` - Italicize + - `⌘` + `Q` - Block quotes + - `⌘` + `SHIFT` + `9` - Code + +- Paragraph formatting + - `⌘` + `SHIFT` + `7` - Numbered list + - `⌘` + `SHIFT` + `8` - Bulleted list + ### [Demo](https://accordproject-markdown-editor.netlify.com/) ### Usage From 1bb89a40a103dfe24dad7260e9378fe75891fa89 Mon Sep 17 00:00:00 2001 From: lenvi Date: Wed, 18 Mar 2020 22:49:38 +0530 Subject: [PATCH 2/3] docs(readme): change block quote shortcut - #244 Signed-off-by: lenvi --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96fbc33..ab803a0 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Windows/Linux: - Text formatting - `CTRL` + `B` - Bold - `CTRL` + `I` - Italicize - - `CTRL` + `Q` - Block quotes + - `CTRL` + `SHIFT` + `.` - Block quotes - `CTRL` + `SHIFT` + `9` - Code - Paragraph formatting @@ -83,7 +83,7 @@ Mac: - Text formatting - `⌘` + `B` - Bold - `⌘` + `I` - Italicize - - `⌘` + `Q` - Block quotes + - `⌘` + `SHIFT` + `.` - Block quotes - `⌘` + `SHIFT` + `9` - Code - Paragraph formatting From 18efcfdabdd15f206cd23cb1a2210f5ec3c6e1dc Mon Sep 17 00:00:00 2001 From: lenvi Date: Fri, 20 Mar 2020 11:47:07 +0530 Subject: [PATCH 3/3] docs(readme): remove Repeat last action shortcut - #244 Signed-off-by: lenvi --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index ab803a0..cfc37e2 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,6 @@ Windows/Linux: - `CTRL` + `V` - Paste - `CTRL` + `Z` - Undo - `CTRL` + `SHIFT` + `Z` - Redo - - `CTRL` + `Y` - Repeat last action - Text formatting - `CTRL` + `B` - Bold @@ -78,7 +77,6 @@ Mac: - `⌘` + `V` - Paste - `⌘` + `Z` - Undo - `⌘` + `SHIFT` + `Z` - Redo - - `⌘` + `Y` - Repeat last action - Text formatting - `⌘` + `B` - Bold