Re: [w3c/editing] Should execCommand dispatch beforeinput or not? (#200)

@scottfr Just as an example - I had your plugin still activated as I was typing an email. I had defined a shortcut "---" and the output included a tab. I had forgotten all about it as I was typing an email in gmail. Suddenly I activated it and the tab then wasn't pasted into the content of the email but instead activated some other function. I suddenly saw a message "This email has been marked as not important" or some such thing. Again, this is probably not a problem if your plugin is the only text plugin users are using as they probably quickly learn to just disable it for gmail or to just never use tabs in the output, but if they use your plugin, another plugin to type specific characters they don't have on their keyboard, a third one for emojis and a fourth one that lets the user play chess via email... those kinds of hiccups are likely going to be quite frustrating. The issue here is not the quality of your code (it really does a nice job) but rather that the API you have to work with is somewhat problematic.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/200#issuecomment-571987219

Received on Wednesday, 8 January 2020 10:28:07 UTC