enh: copy formatted option

Co-Authored-By: Sebastian Whincop <123417897+macjedi42@users.noreply.github.com>
This commit is contained in:
Timothy Jaeryang Baek
2025-04-14 01:56:15 -07:00
co-authored by Sebastian Whincop
parent 95fca7b700
commit aa8db40376
3 changed files with 150 additions and 32 deletions
@@ -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!'));
}