| Summary: | Rich copy/paste support | ||
|---|---|---|---|
| Product: | [Applications] ghostwriter | Reporter: | megan.conkle |
| Component: | general | Assignee: | megan.conkle |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | me |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
megan.conkle
2022-12-22 21:27:20 UTC
+1, would be great if this could be implemented. Ghostwriter could - Detect clipboard formats via Qt (e.g., `QClipboard::mimeData()`) - If `text/html` exists (e.g., `mimeData->hasHtml()`), fetch it (e.g., `html = mimeData->html()`) and convert it with e.g. `pandoc -f html -t gfm` (or `-t commonmark`) - Insert converted Markdown into the editor If Pandoc isn't installed or fails, we can fall back to normal paste |