tinymce富文本编辑器的使用(回显问题)

tinymce富文本编辑器的使用

组件






页面使用

//引入
import TinymceEditor from '@/components/TinymceEditor'
//注册
components: {
			TinymceEditor,
},
//computed
computed: {
			...mapGetters(["permission"]),
			initEditor() {
				return {
					height: 400,
					file_picker_callback: this.file_picker_callback,
					skin_url: this.$store.state.theme.theme === 'dark' ? './tinymce/skins/ui/oxide-dark' :
						'./tinymce/skins/ui/oxide',
					content_css: this.$store.state.theme.theme === 'dark' ? './tinymce/skins/content/dark/content.css' :
						'./tinymce/skins/content/default/content.css'
				};
			}
		},

你可能感兴趣的:(vue,前端)