I like to add Titles to my Photos in the Photos app on Mac, but half the time what I type gets eaten up. Pasting works fine though, which led me in the end to this Applescript, triggered by Keyboard Maestro. The linked script is a text file.

An untitled photo with a dialog box above it, the dialog has text for the title.
The same photo in Photos app with the title applied.
A screenshot of the script.