(path: Path, start = true)
| 66 | Transforms.collapse(editor, { edge: 'anchor' }) |
| 67 | } else { |
| 68 | const removeRow = (path: Path, start = true) => { |
| 69 | const grid = Grid.above(editor, path) |
| 70 | if (grid) { |
| 71 | const [row] = GridCell.toPoint(path) |
| 72 | for (let r = start ? grid[0].children.length - 1 : row; r >= (start ? row : 0); r--) { |
| 73 | Grid.removeRow(editor, grid[1], r) |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | // 开始位置选中在grid内 |
| 78 | if (start) { |
| 79 | removeRow(start[1]) |
no outgoing calls
no test coverage detected
searching dependent graphs…