Where can I make a contextMenu for TextField / TextEditor?

I'd like to make / edit the contextMenu for entered text on a TextField / TextEditor. Does anybody know a good tutorial for that or can give short advice, how to make that.

btw. .contextMenu() doesn't work. :-)

Where can I make a contextMenu for TextField / TextEditor?
 
 
Q