Keyboard Shortcut To Send Text Strings To Program KDE plasma 5.26

sudo apt install xdotool
Then assign a shortcut to this command in KDE and after your pressing the shortcut, the required text is magically typed for you

Workaround is to open old “Custom Shortcuts” using XWayland: QT_QPA_PLATFORM=xcb systemsettings

xdotool sleep 0.3 type 'string that you want to type / paste'