Fix copy when focused on the browser's address bar.#11
Fix copy when focused on the browser's address bar.#11lingceng wants to merge 1 commit intowdhongtw:masterfrom
Conversation
|
Hi @lingceng , thanks for the PR. The ability to support copy when focusing on address bar looks appealing, Also, would you like to elaborate a little abount the scenario where you are copying link without page focus? |
|
Thank you for your reply. The specific scenario is that sometimes I accidentally click on the address bar, and clicking the copy button doesn't work. I understand the security scenario you're referring to, and recently I've noticed that using the execCommand approach throws errors on some Lark documents where modifications aren't allowed, so it's not a perfect solution either. Perhaps we could provide a prompt when the current text is not focused and cannot be copied? |
No description provided.