In this example, we change the default paste handler to append some text to the pasted content when the content is plain text.
Try it out: Use the buttons to copy some content to the clipboard and paste it in the editor to trigger our custom paste handler.
Relevant Docs: