Thanks for reaching out. Would you mind telling us which Adobe application are you using? Is it happening after switching to MacBook? Which operating system you were on before & was it working fine there? Did you try checking this on other non-Adobe apps?
As a workaround, you may copy it from TextEdit and paste it to your required Adobe app to get your work done.