diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editor.mjs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/editor.mjs b/src/editor.mjs index e9ee84a..e0c90c3 100644 --- a/src/editor.mjs +++ b/src/editor.mjs | |||
| @@ -59,15 +59,15 @@ const editor = new EasyMDE({ | |||
| 59 | }, | 59 | }, |
| 60 | toolbar: [ | 60 | toolbar: [ |
| 61 | { | 61 | { |
| 62 | name: 'map', | 62 | name: 'roll', |
| 63 | title: 'Toggle Map Generation', | 63 | title: 'Roll a dice', |
| 64 | text: '🌏', | 64 | text: '\u{2684}', |
| 65 | action: () => toggleEditing() | 65 | action: () => toggleEditing() |
| 66 | }, | 66 | }, |
| 67 | { | 67 | { |
| 68 | name: 'debug', | 68 | name: 'debug', |
| 69 | title: 'Save content as URL', | 69 | title: 'Save content as URL', |
| 70 | text: '🤔', | 70 | text: '\u{1F4BE}', |
| 71 | action: () => { | 71 | action: () => { |
| 72 | const state = { content: editor.value() } | 72 | const state = { content: editor.value() } |
| 73 | window.location.hash = encodeURIComponent(JSON.stringify(state)) | 73 | window.location.hash = encodeURIComponent(JSON.stringify(state)) |