enh: copy formatted option
Co-Authored-By: Sebastian Whincop <123417897+macjedi42@users.noreply.github.com>
This commit is contained in:
co-authored by
Sebastian Whincop
parent
95fca7b700
commit
aa8db40376
@@ -156,7 +156,8 @@
|
||||
|
||||
const copyToClipboard = async (text) => {
|
||||
text = removeAllDetails(text);
|
||||
const res = await _copyToClipboard(text);
|
||||
|
||||
const res = await _copyToClipboard(text, $settings?.copyFormatted ?? false);
|
||||
if (res) {
|
||||
toast.success($i18n.t('Copying to clipboard was successful!'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user