(range)
| 359 | } |
| 360 | |
| 361 | removeBlockAttributesAtRange(range) { |
| 362 | let { blockList } = this |
| 363 | this.eachBlockAtRange(range, function(block, textRange, index) { |
| 364 | if (block.hasAttributes()) { |
| 365 | blockList = blockList.editObjectAtIndex(index, () => block.copyWithoutAttributes()) |
| 366 | } |
| 367 | }) |
| 368 | return new this.constructor(blockList) |
| 369 | } |
| 370 | |
| 371 | expandRangeToLineBreaksAndSplitBlocks(range) { |
| 372 | let position |
no test coverage detected