提交 1ce69798 authored 作者: lhh's avatar lhh

update

上级 909f79f2
...@@ -9,5 +9,6 @@ ...@@ -9,5 +9,6 @@
<body> <body>
<div id="app"></div> <div id="app"></div>
<script type="module" src="/src/main.js"></script> <script type="module" src="/src/main.js"></script>
<script src="https://webapp-pub.ezijing.com/plugins/tinymce/tinymce.min.js"></script>
</body> </body>
</html> </html>
...@@ -6,19 +6,14 @@ ...@@ -6,19 +6,14 @@
import Editor from '@tinymce/tinymce-vue' import Editor from '@tinymce/tinymce-vue'
import ImageUpload from './imageUpload' import ImageUpload from './imageUpload'
export default { export default {
props: {
maxHeight: {
type: Number
}
},
components: { components: {
editor: Editor editor: Editor
}, },
data() { data() {
return { return {
init: { init: {
min_height: this.maxHeight || 400, min_height: 200,
max_height: 600, max_height: 200,
menubar: false, menubar: false,
statusbar: false, statusbar: false,
plugins: 'table autoresize charmap fullscreen hr lists link code preview quickbars', plugins: 'table autoresize charmap fullscreen hr lists link code preview quickbars',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论