vue-quill-editor 实现 mention
时间: 2023-10-27 20:25:38 浏览: 158
要实现mention功能,可以借助vue-quill-editor插件。首先,需要在Vue项目中引入vue-quill-editor插件。你可以使用以下代码来引入vue-quill-editor插件:
```
import VueQuillEditor from 'vue-quill-editor'
```
然后,你可以在Vue组件中使用vue-quill-editor插件来实现富文本编辑器。具体使用方法可以参考插件的文档或示例代码。引入富文本编辑器可以使用以下代码:
```
import { quillEditor } from 'vue-quill-editor'
```
这样就可以在Vue项目中使用vue-quill-editor插件,并实现mention功能了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [富文本编辑器 vue-quill-editor 实现 mention 提醒功能](https://blog.csdn.net/qq_25687271/article/details/115184228)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [vue3.0 vue-quill-editor.rar](https://download.csdn.net/download/qq_30358945/23619456)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文