forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustom.vue
More file actions
33 lines (31 loc) · 656 Bytes
/
Custom.vue
File metadata and controls
33 lines (31 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<template>
<div class="q-pa-md q-gutter-sm">
<q-editor
v-model="editor"
flat
content-class="bg-amber-3"
toolbar-text-color="white"
toolbar-toggle-color="yellow-8"
toolbar-bg="primary"
:toolbar="[
['bold', 'italic', 'underline'],
[{
label: $q.lang.editor.formatting,
icon: $q.iconSet.editor.formatting,
list: 'no-icons',
options: ['p', 'h3', 'h4', 'h5', 'h6', 'code']
}]
]"
/>
</div>
</template>
<script>
import { ref } from 'vue'
export default {
setup () {
return {
editor: ref('Customize it.')
}
}
}
</script>