vue.js - 在 tinymce-vue 组件中设置整个编辑器的高度
问题描述
我正在使用这个组件https://github.com/tinymce/tinymce-vue并且我想将整个编辑器的高度设置为500 px
.
<editor api-key="myapikey" :init="{plugins: 'wordcount,'"></editor>
解决方案
我只是想通了,只需要将height
属性添加到:init
prop中,如下所示:
<editor api-key="myapikey" :init="{plugins: 'wordcount',height: 500}"></editor>
推荐阅读
- stripe-payments - 条纹:将发票项目添加到发票
- php - 如何使用 PHP 在表单中提交跨度值?
- python - Pandas.query,定义一个变量
- visual-studio - 最新的 Xamarin 表单 ver3 以上错误:指定的转换无效
- wso2esb - 使用 WSO2 ESB Aggregate Mediator 的相关表达式
- python - 二维直方图的积分和导数
- php - PHP 7.1.1 - 所有打印机功能不工作
- google-analytics - 缺少电子商务数据
- multithreading - .NET Core:当我使用异步 IO(OS Windows)时,为什么会有这么多线程?
- http-headers - Elixir Plug 为特定文件配置