Fill field with text

Hello,

I would like to add custom button to fill text editor field with predefined text, but I don’t know how to do that. Could you help me, please?

Thank you,
Filip