()
| 160 | } |
| 161 | |
| 162 | getDelta(): Delta { |
| 163 | return this.scroll.lines().reduce((delta, line) => { |
| 164 | return delta.concat(line.delta()); |
| 165 | }, new Delta()); |
| 166 | } |
| 167 | |
| 168 | getFormat(index: number, length = 0): Record<string, unknown> { |
| 169 | let lines: (Block | BlockEmbed)[] = []; |