clipbaord -> clipboard (#16410)

This commit is contained in:
Tony Xia
2021-07-24 01:35:40 +10:00
committed by GitHub
parent c2d45fa01f
commit 880cfc3b59
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ export class BrowserClipboardService implements IClipboardService {
) { } ) { }
/** /**
* Writes the input image as a dataurl to the clipbaord * Writes the input image as a dataurl to the clipboard
*/ */
async writeImageDataUrl(data: string): Promise<void> { async writeImageDataUrl(data: string): Promise<void> {
// not implemented until web standards catch up // not implemented until web standards catch up

View File

@@ -11,7 +11,7 @@ export const IClipboardService = createDecorator<IClipboardService>('sqlclipboar
export interface IClipboardService extends vsIClipboardService { export interface IClipboardService extends vsIClipboardService {
/** /**
* Writes the input image as a dataurl to the clipbaord * Writes the input image as a dataurl to the clipboard
*/ */
writeImageDataUrl(data: string): Promise<void>; writeImageDataUrl(data: string): Promise<void>;
} }

View File

@@ -18,7 +18,7 @@ export class ClipboardService extends BrowserClipboardService {
} }
/** /**
* Writes the input image as a dataurl to the clipbaord * Writes the input image as a dataurl to the clipboard
*/ */
override async writeImageDataUrl(data: string): Promise<void> { override async writeImageDataUrl(data: string): Promise<void> {
let image = nativeImage.createFromDataURL(data); let image = nativeImage.createFromDataURL(data);