0.1.12 • Published 2 years ago
iteach-icreate-tk v0.1.12
iteach-icreate-tk
使用方式
- 安装依赖,页面使用
<template>
<div id="app">
<el-button type="primary" @click="dialogVisible = true">显示</el-button>
<el-dialog
title="提示"
:visible.sync="dialogVisible"
:fullscreen="true"
>
<div>
<IcreateQuestion @cancel="cancelCb" @catch="catchCb" @save="saveCb"></IcreateQuestion>
</div>
</el-dialog>
</div>
</template>
<script>
import IcreateQuestion from "iteach-icreate-tk";
import "iteach-icreate-tk/dist/IcreateQuestion.css";
export default {
name: "Home",
components: {
IcreateQuestion,
},
data() {
return {
dialogVisible: false,
};
},
methods: {},
};
</script>
下载公式支持 公式支持包
压缩解压包 将解压得到的文件夹,放到TinyMCE主目录下的plugins文件夹内。 将解压得到的文件夹,静态资源根路径 public/js/plugins/ketyformula-editor。