mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix(editor): Fix copy to clipboard on insecure contexts (#8425)
This commit is contained in:
parent
4b3ea81028
commit
7386f79362
|
@ -12,7 +12,7 @@ export function useClipboard(
|
|||
},
|
||||
) {
|
||||
const { debounce } = useDebounce();
|
||||
const { copy, copied, isSupported, text } = useClipboardCore();
|
||||
const { copy, copied, isSupported, text } = useClipboardCore({ legacy: true });
|
||||
|
||||
const ignoreClasses = ['el-messsage-box', 'ignore-key-press'];
|
||||
const initialized = ref(false);
|
||||
|
|
Loading…
Reference in a new issue