forked from github/dataease
refactor(仪表板、数据大屏): 初始化富文本表格大小
This commit is contained in:
parent
78339557e9
commit
9110292f83
@ -172,6 +172,12 @@ const init = ref({
|
||||
branding: false,
|
||||
icons: 'vertical-content',
|
||||
vertical_align: element.value.propValue.verticalAlign,
|
||||
table_default_attributes: {
|
||||
width: '400' // 使用 table_default_attributes 设置表格的宽度
|
||||
},
|
||||
table_default_styles: {
|
||||
width: '400px' // 或者使用 table_default_styles 设置宽度,单位为 px
|
||||
},
|
||||
setup: function (editor) {
|
||||
let cloneHandle = null // 用于存储克隆的手柄
|
||||
let originalHandle = null // 用于存储原始手柄
|
||||
|
Loading…
Reference in New Issue
Block a user