当前位置:网站首页>Rich text editor Tinymce
Rich text editor Tinymce
2022-07-31 09:32:00 【Fairy wants to carry】
Table of Contents
5. Component templates and basic styles

1. CopyScript Library
Copy the script library to the static directory of the project (under the static path of vue-element-admin-master)

2. Configure html variables
Add configuration in guli-admin/build/webpack.dev.conf.js
In the html page, you can use the BASE_URL variable defined here
new HtmlWebpackPlugin({filename: 'index.html',template: 'index.html',inject: true,favicon: resolve('favicon.ico'),title: 'vue-admin-template',templateParameters: {BASE_URL: config.dev.assetsPublicPath + config.dev.assetsSubDirectory}})]})3. Introduce js script
Introduce js script in guli-admin/index.html
4. Copy Components
src/components/Tinymce
Tinymce is introduced into the course information component

import Tinymce from '@/components/Tinymce'export default {components: { Tinymce },......}5. Component templates and basic styles
边栏推荐
猜你喜欢
随机推荐
各位大佬,sqlserver 支持表名正则匹配吗
Browser usage ratio js radar chart
loadrunner脚本--添加检查点
HTC官方RUU固件提取刷机包rom.zip以及RUU解密教程
UE4插件软链接(关联)
安装sambe
vue element form表单规则校验 点击提交后直接报数据库错误,没有显示错误信息
ARC在编译和运行做了什么?
手写promise
一些计时软件,生产力工具
spark过滤器
postgresql 范围查询比索引查询快吗?
【TCP/IP】网络模型
Gradle系列——Groovy概述,基础使用(基于Groovy文档4.0.4)day2-1
第二十四课、二十五课,高级光照(blinn),Gamma矫正
Flink1.15 source code reading flink-clients - flink command line help command
Aleo Testnet3规划大纲
第五章
ecshop安装的时候提示不支持JPEG格式
安装gnome-screenshot截图工具








