move clear format button to the end

This commit is contained in:
Hans Pagel 2020-12-01 12:56:19 +01:00
parent 4ba1d7c5f2
commit 5abb7121dd

View File

@ -46,15 +46,6 @@ export default {
action: () => this.editor.chain().focus().toggleCode().run(),
isActive: () => this.editor.isActive('code'),
},
{
icon: 'format-clear',
title: 'Clear Format',
action: () => this.editor.chain()
.focus()
.clearNodes()
.unsetAllMarks()
.run(),
},
{
icon: 'paragraph',
title: 'Paragraph',
@ -131,6 +122,15 @@ export default {
title: 'Hard Break',
action: () => this.editor.chain().focus().setHardBreak().run(),
},
{
icon: 'format-clear',
title: 'Clear Format',
action: () => this.editor.chain()
.focus()
.clearNodes()
.unsetAllMarks()
.run(),
},
{
icon: 'arrow-go-back-line',
title: 'Undo',