Tails includes a custom applet, called Tails OpenPGP Applet, to manipulate text using OpenPGP.

It is unsafe to write confidential text in a web browser since JavaScript attacks can access it from inside the browser. You should rather write your text in a separate application, encrypt it using Tails OpenPGP Applet, and paste the encrypted text in your browser, before sending it by email for example.

Tails OpenPGP Applet is located in the notification area.

Tails OpenPGP Applet with lines of
text

With Tails OpenPGP Applet you can:

Note that the applet doesn't manage your keys, that is done by Seahorse.