Remove call to begin/commitTransaction in text-editor-spec