(text = '')
| 346 | } |
| 347 | |
| 348 | createBlockP(text = '') { |
| 349 | const pBlock = this.createBlock('p') |
| 350 | const contentBlock = this.createBlock('span', { text }) |
| 351 | this.appendChild(pBlock, contentBlock) |
| 352 | return pBlock |
| 353 | } |
| 354 | |
| 355 | isCollapse(cursor = this.cursor) { |
| 356 | const { start, end } = cursor |
no test coverage detected