linagora / Twake

Twake is a secure open source collaboration platform to improve organizational productivity.
https://twake.app
GNU Affero General Public License v3.0
1.79k stars 195 forks source link

📁 Fix copy public link #2709 #2719

Closed MontaGhanmy closed 1 year ago

MontaGhanmy commented 1 year ago

Description

File -> Access management -> Copy public link to the clipboard, not working, nothing in clipboard when testing in staging.

Motivation and Context

The old document.execCommand('copy') method is used to execute a "copy" command on the current document. This method has been implemented in various web browsers, but the exact behavior and implementation may vary between different browsers. In some cases, the document.execCommand('copy') method may not work as expected.

Types of changes