fix: control element rendering boundary error in table #527
This commit is contained in:
@@ -1787,7 +1787,7 @@ export class CommandAdapt {
|
||||
const { startIndex, endIndex } = this.range.getRange()
|
||||
if (!~startIndex && !~endIndex) return
|
||||
const { value, width, height } = payload
|
||||
this.draw.insertElementList([
|
||||
this.insertElementList([
|
||||
{
|
||||
value,
|
||||
width,
|
||||
|
||||
@@ -286,6 +286,7 @@ export class Draw {
|
||||
this.setEditorData(this.printModeData)
|
||||
this.printModeData = null
|
||||
}
|
||||
this.range.clearRange()
|
||||
this.mode = payload
|
||||
this.render({
|
||||
isSetCursor: false,
|
||||
|
||||
Reference in New Issue
Block a user