()
| 552 | |
| 553 | @action |
| 554 | exitEdit() { |
| 555 | if (this.state === SelectionState.Editing) { |
| 556 | this.setSelectionSingleNode(new NodeCursor(this.selectionStart.listBlock, this.selectionStart.index)) |
| 557 | } |
| 558 | if (this.state == SelectionState.Inserting) { |
| 559 | this.placeCursorByXYCoordinate(this.lastXCoordinate, this.lastYCoordinate) |
| 560 | } |
| 561 | } |
| 562 | |
| 563 | @action |
| 564 | onEditorBlur() { |
no test coverage detected