add horizontal rule, fix #170

This commit is contained in:
Philipp Kühn
2019-01-19 09:57:46 +01:00
parent 0cf905abb9
commit 3b87dc9e57
4 changed files with 32 additions and 0 deletions

View File

@@ -107,6 +107,13 @@
<icon name="code" />
</button>
<button
class="menubar__button"
@click="commands.horizontal_rule"
>
<icon name="hr" />
</button>
<button
class="menubar__button"
@click="commands.undo"
@@ -136,6 +143,7 @@ import {
CodeBlock,
HardBreak,
Heading,
HorizontalRule,
OrderedList,
BulletList,
ListItem,
@@ -165,6 +173,7 @@ export default {
new CodeBlock(),
new HardBreak(),
new Heading({ levels: [1, 2, 3] }),
new HorizontalRule(),
new ListItem(),
new OrderedList(),
new TodoItem(),