Extend the text editor