mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
clipbaord -> clipboard (#16410)
This commit is contained in:
@@ -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> {
|
||||
// not implemented until web standards catch up
|
||||
|
||||
@@ -11,7 +11,7 @@ export const IClipboardService = createDecorator<IClipboardService>('sqlclipboar
|
||||
|
||||
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>;
|
||||
}
|
||||
|
||||
@@ -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> {
|
||||
let image = nativeImage.createFromDataURL(data);
|
||||
|
||||
Reference in New Issue
Block a user