提交 15e82b40 authored 作者: lhh's avatar lhh

update

上级 1ce69798
...@@ -6,14 +6,19 @@ ...@@ -6,14 +6,19 @@
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: 200, min_height: this.maxHeight || 400,
max_height: 200, max_height: 600,
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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论