Event listner on selected text on ion-input? add custom features to the keyboard?

Is it possible to add in ur own keyboard features?
E.g when u select a text the box appeares above the text.
When u you tap on : more features appear like copy, paste.
I would like to know if i can add in my own stuff.

Examples Pics: