code: function selectAllText(change: Change): Change {
      const { value } = change;
      const { startBlock } = value;
  
      return change.moveOffsetsTo(0).extend(startBlock.text.length);
  }
docs: Select all text of current block.