This example shows how text selection, copy and paste operations can be implemented on top of the TextEdit element.