Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
fix: page editor toolbar fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
villetakanen committed Dec 8, 2021
1 parent 2949686 commit e818f13
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/page/EditPageForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
v-model:content="v.content.$model"
style="margin-top: 8px"
/>
<div class="toolbar">
<Toolbar>
<Select
v-model="v.category.$model"
name="CategorySelect"
:opts="opts"
:label="$t('wiki.page.category')"
class="pageCategory"
/>
<div class="spacer" />
<SpacerDiv />
<Button
text
@click="back"
Expand All @@ -41,7 +41,7 @@
>
{{ $t('action.save') }}
</Button>
</div>
</Toolbar>
<div class="debug">
{{ page }}
</div>
Expand All @@ -67,10 +67,12 @@ import Textfield from '../form/Textfield.vue'
import Column from '../layout/Column.vue'
import RichTextEditor from '../quill/RichTextEditor.vue'
import { useUxActions } from '@/composables/useUxActions'
import Toolbar from '../layout/Toolbar.vue'
import SpacerDiv from '../layout/SpacerDiv.vue'
export default defineComponent({
name: 'TextStyles',
components: { Column, Loader, Textfield, RichTextEditor, Button, Select },
components: { Column, Loader, Textfield, RichTextEditor, Button, Select, Toolbar, SpacerDiv },
setup () {
const { site } = useSite()
const { page } = usePage()
Expand Down

0 comments on commit e818f13

Please sign in to comment.