Copy paste in TextEditor not working in OSX if used in ApplicationCommandTarget

Thanks for reporting this issue. I think this change in behaviour is a regression introduced shortly after the release of JUCE 6, which I’ve attempted to rectify in this patch:

Please let us know if you encounter any problems with this change.