We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.9.41
No response
分页模式下
instance.command.executeInsertTable(100, 6)
onInsertCustomTable () { const table = { value: '', type: 'table', trList: [ ], width: 558, height: 42, colgroup: [] } // colgroup const colgroup = [] const colNum = 6 for (let i = 0; i < colNum; i++) { colgroup.push({ width: 558 / colNum }) } table.colgroup = colgroup // trList const rowNum = 100 for (let i = 0; i < rowNum; i++) { const trList = { height: 42, tdList: [] } for (let j = 0; j < colNum; j++) { const td = { colspan: 1, rowspan: 1, value: `${i + 1}-${j + 1}` } trList.tdList.push(this.getCell(td)) } table.trList.push(trList) } // insert table this.$refs.CanvasEditor.instance.command.executeAppendElementList([table]) }
插入行列数正确的表格
执行插入指令
插入的表格过高时(高度超过两页,可能原因:行过多、单元格内容高度过多=高),编辑器中的表格截断多余行;
此时鼠标点击第二页表格中的单元格,编辑器变化,展示表格外框,但不展示page
相似问题: #41
The text was updated successfully, but these errors were encountered:
相同问题,请等待后续方案
Sorry, something went wrong.
No branches or pull requests
version
0.9.41
Link to minimal reproduction
No response
Steps to reproduce
分页模式下
What is expected?
插入行列数正确的表格
What is actually happening?
执行插入指令
插入的表格过高时(高度超过两页,可能原因:行过多、单元格内容高度过多=高),编辑器中的表格截断多余行;
此时鼠标点击第二页表格中的单元格,编辑器变化,展示表格外框,但不展示page
System Info
No response
Any additional comments?
相似问题: #41
The text was updated successfully, but these errors were encountered: