Skip to content

Commit

Permalink
fix clipboard: alt_text in writeHtml not being passed with correct ar…
Browse files Browse the repository at this point in the history
…gument name
  • Loading branch information
rasteiner authored Nov 26, 2024
1 parent c665818 commit cf59b66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/clipboard-manager/guest-js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ async function readImage(): Promise<Image> {
*
* @since 2.0.0
*/
async function writeHtml(html: string, altHtml?: string): Promise<void> {
async function writeHtml(html: string, altText?: string): Promise<void> {
await invoke('plugin:clipboard-manager|write_html', {
html,
altHtml
altText
})
}

Expand Down

0 comments on commit cf59b66

Please sign in to comment.