mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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> {
|
async writeImageDataUrl(data: string): Promise<void> {
|
||||||
// not implemented until web standards catch up
|
// not implemented until web standards catch up
|
||||||
|
|||||||
@@ -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>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user