mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-21 20:39:47 -04:00
wip: always copy rendered text
This commit is contained in:
parent
475822a7dc
commit
563a885b70
@ -660,8 +660,9 @@ impl<'ws> Workspace<'ws> {
|
||||
}
|
||||
rows.push(cols);
|
||||
}
|
||||
// TODO(zaphar): Rethink this a bit perhaps?
|
||||
let mut cb = Clipboard::new()?;
|
||||
let (html, csv) = crate::book::rows_to_clipboard_content(&rows)?;
|
||||
let (html, csv) = self.book.range_to_clipboard_content(AddressRange { start, end })?;
|
||||
cb.set_html(html, Some(csv))?;
|
||||
self.state.clipboard = Some(ClipboardContents::Range(rows));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user