replaceSelection

Create a transaction spec that replaces every selection range with the given content.