But it doesn’t paste on a mac… I changed KEY_CTRL to KEY_CMD but that doesn’t make any difference… it simply writes a “v” to the textarea… How can I make shortcuts such as CMD+A (to select all text) work on a mac?
Well, it was a tricky timing issue. Thus it worked fine on some machines/some situations, but not others. But the new XModule V2021-1 fixes this issue. Now it works on all machines all the time