Skip to content

Commit ceb7da5

Browse files
committed
feat: allow fullscreen of editor
1 parent d1e2a24 commit ceb7da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/layout/Editor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@
180180

181181
<div class="editor-tools">
182182
<div class="tools">
183-
<a data-balloon="Formatting Help" @click="showFormatting = true"><i class="fa fa-code"></i></a>
184-
<a :data-balloon="isMinimized ? 'Expand Editor' : 'Minimize Editor'" @click="fullscreen = !fullscreen"><i class="fa expand" :class="{ 'fa-expand': isMinimized, 'fa-compress': !isMinimized }"></i></a>
183+
<a href="#" data-balloon="Formatting Help" @click.prevent="showFormatting = !showFormatting"><i class="fa fa-code"></i></a>
184+
<a href="#" :data-balloon="fullscreen ? 'Minimize' : 'Fullscreen'" @click.prevent="fullscreen = !fullscreen"><i class="fa expand" :class="{ 'fa-expand': !fullscreen, 'fa-compress': fullscreen }"></i></a>
185185
</div>
186186
</div>
187187

0 commit comments

Comments
 (0)