hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2024-07-12 13:28:27 2 * @Date: 2024-07-12 13:28:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-08-07 10:59:54 4 + * @LastEditTime: 2024-08-07 11:19:38
5 * @FilePath: /data-table/src/components/TEditor/index.vue 5 * @FilePath: /data-table/src/components/TEditor/index.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -205,7 +205,7 @@ const tinymceOptions = { ...@@ -205,7 +205,7 @@ const tinymceOptions = {
205 // image 插件的使用示例:https://www.tiny.cloud/docs/demo/file-picker/ 205 // image 插件的使用示例:https://www.tiny.cloud/docs/demo/file-picker/
206 // plugins: 'searchreplace autoresize link image code', 206 // plugins: 'searchreplace autoresize link image code',
207 plugins: 'searchreplace autoresize link image code table', 207 plugins: 'searchreplace autoresize link image code table',
208 - autoresize_bottom_margin: 100, 208 + autoresize_bottom_margin: 20,
209 menubar: 'none', 209 menubar: 'none',
210 // fontselect fontsizeselect 210 // fontselect fontsizeselect
211 // toolbar: 'table', // 工具栏显示 211 // toolbar: 'table', // 工具栏显示
...@@ -213,7 +213,7 @@ const tinymceOptions = { ...@@ -213,7 +213,7 @@ const tinymceOptions = {
213 table_toolbar: 'tableinsertrowafter', // table_toolbar 配置 213 table_toolbar: 'tableinsertrowafter', // table_toolbar 配置
214 width: $('.table-field-page').width() + 'px', 214 width: $('.table-field-page').width() + 'px',
215 paste_data_images: false, //允许粘贴图像 215 paste_data_images: false, //允许粘贴图像
216 - min_height: 300, 216 + // min_height: 300,
217 content_style: 'body { font-size: 13px; }', // 设置默认字号为 13px 217 content_style: 'body { font-size: 13px; }', // 设置默认字号为 13px
218 // file_picker_callback: function (cb, value, meta) { 218 // file_picker_callback: function (cb, value, meta) {
219 // var input = document.createElement('input'); 219 // var input = document.createElement('input');
......