moved history buttons to start of menubar
This commit is contained in:
@@ -3,6 +3,20 @@
|
|||||||
<editor-menu-bar :editor="editor">
|
<editor-menu-bar :editor="editor">
|
||||||
<div class="menubar" slot-scope="{ commands, isActive }">
|
<div class="menubar" slot-scope="{ commands, isActive }">
|
||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
|
<button
|
||||||
|
class="menubar__button"
|
||||||
|
@click="commands.undo"
|
||||||
|
>
|
||||||
|
<icon name="undo" />
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
class="menubar__button"
|
||||||
|
@click="commands.redo"
|
||||||
|
>
|
||||||
|
<icon name="redo" />
|
||||||
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
class="menubar__button"
|
class="menubar__button"
|
||||||
:class="{ 'is-active': isActive.bold() }"
|
:class="{ 'is-active': isActive.bold() }"
|
||||||
@@ -107,20 +121,6 @@
|
|||||||
<icon name="code" />
|
<icon name="code" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
@click="commands.redo"
|
|
||||||
>
|
|
||||||
<icon name="redo" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
|
||||||
class="menubar__button"
|
|
||||||
@click="commands.undo"
|
|
||||||
>
|
|
||||||
<icon name="undo" />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
<button
|
||||||
class="menubar__button"
|
class="menubar__button"
|
||||||
@click="commands.createTable({rowsCount: 3, colsCount: 3, withHeaderRow: false })"
|
@click="commands.createTable({rowsCount: 3, colsCount: 3, withHeaderRow: false })"
|
||||||
|
|||||||
Reference in New Issue
Block a user