fix clipboard: alt_text in writeHtml not being passed with correct argument name

pull/2099/head
Roman Steiner 8 months ago committed by GitHub
parent c665818395
commit cf59b660c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
})
}

Loading…
Cancel
Save