Implement sharing and copying of text.