From 5abb7121dde301d2a627f8a3a4ab13a1df41c201 Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Tue, 1 Dec 2020 12:56:19 +0100 Subject: [PATCH] move clear format button to the end --- .../Examples/CollaborativeEditing/MenuBar.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/src/demos/Examples/CollaborativeEditing/MenuBar.vue b/docs/src/demos/Examples/CollaborativeEditing/MenuBar.vue index 94530804..b1ccacfb 100644 --- a/docs/src/demos/Examples/CollaborativeEditing/MenuBar.vue +++ b/docs/src/demos/Examples/CollaborativeEditing/MenuBar.vue @@ -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',