| | |
| | | <template> |
| | | <view class="editor-container"> |
| | | <div class="editor"> |
| | | <QuillEditor v-model:content="content" |
| | | <!-- <QuillEditor v-model:content="content" |
| | | contentType="html" |
| | | @textChange="(e) => emit('update:modelValue', content)" |
| | | :options="options" |
| | | :style="styles" /> |
| | | :style="styles" /> --> |
| | | </div> |
| | | </view> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { ref, computed, watch } from "vue"; |
| | | import { QuillEditor } from "@vueup/vue-quill"; |
| | | // import { QuillEditor } from "@vueup/vue-quill"; |
| | | import "@vueup/vue-quill/dist/vue-quill.snow.css"; |
| | | import { getToken } from "@/utils/auth"; |
| | | |