diff options
-rw-r--r-- | src/editor.mjs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/editor.mjs b/src/editor.mjs index 533ff16..29574d7 100644 --- a/src/editor.mjs +++ b/src/editor.mjs | |||
@@ -187,6 +187,16 @@ const editor = new EasyMDE({ | |||
187 | text: '\u{1D43C}', | 187 | text: '\u{1D43C}', |
188 | title: 'Italic', | 188 | title: 'Italic', |
189 | action: EasyMDE.toggleItalic | 189 | action: EasyMDE.toggleItalic |
190 | }, | ||
191 | '|', | ||
192 | { | ||
193 | name: 'tutorial', | ||
194 | text: '\u{2753}', | ||
195 | title: 'Reset for content for tutorial', | ||
196 | action: () => { | ||
197 | editor.value(defaultContent) | ||
198 | refLinks = getRefLinks() | ||
199 | } | ||
190 | } | 200 | } |
191 | ] | 201 | ] |
192 | }) | 202 | }) |