[FIX] Custom values for long texts 5265

Implements [ticket 5256](https://www.openproject.org/work_packages/5256)