# tinymce-editor **Repository Path**: LemonTree_7/tinymce-editor ## Basic Information - **Project Name**: tinymce-editor - **Description**: tinymce富文本npm包开发 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-24 - **Last Updated**: 2024-01-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tinymce 富文本 Vue2版本 组件内引入了所有相关的插件用途,包括锚点、自动链接、特殊字符、文字方向、插入编辑图片、插入编辑媒体等插件内容。 ### 安装 ``` npm install tinymce-editor-vue2 ``` ### 组件内引入插件 ``` import TinymceEditorVue2 from "tinymce-editor-vue2"; export default{ components: { TinymceEditorVue2 } } ``` ### 全局引入 ``` import TinymceEditorVue2 from "tinymce-editor-vue2"; Vue.use(TinymceEditorVue2); ``` ### 页面使用 ``` ``` ### 组件参数 名称|用途|返回参数 ---|---|---| value/v-model|文本内容| | toolbar | 富文本上面的用途内容| addButton | 自定义按钮添加,具体如上图进行添加|