use editor for long text

parent 1c4772ec
......@@ -58,13 +58,23 @@
label="Short introduction text on Card"
min-height="5rem"
/>
<q-input
<quill-editor
ref="editor"
v-model="vp.text"
placeholder="Text about this Collection"
:toolbar-options="[
['bold', 'italic', 'underline'],
['link', 'image', 'video', 'formula'] // add's image support
]"
/>
<!-- <q-input
filled
type="textarea"
v-model="vp.text"
label="Text about this Collection"
min-height="5rem"
/>
/> -->
</q-form>
</q-card-section>
<q-card-actions class="q-pa-xl" align="center">
......@@ -84,11 +94,13 @@
import _ from 'lodash';
import { mapGetters } from 'vuex';
import getHeaders from '../mixins/getHeaders.mixin.js';
import QuillEditor from '@/components/QuillEditor';
import { API } from '@/tic';
export default {
name: 'ViewpointCollectionForm',
components: { QuillEditor },
mixins: [getHeaders],
props: {
record: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment