fix(editor): Fix copy to clipboard on insecure contexts (#8425)
This commit is contained in:
committed by
GitHub
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);
|
||||
|
||||
Reference in New Issue
Block a user