mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-29 08:27:02 +00:00
It seems like only one paste handler is possible - with the change inf52a321acf19b8925a5285abf09ae3ed51ea4ca8 the paste handler for the image paste did not work anymore. Resolves https://community.vikunja.io/t/feature-suggestion-paste-images-directly-into-description-comment-from-clipboard/3656
12 lines
371 B
TypeScript
12 lines
371 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
declare namespace Cypress {
|
|
interface Chainable<Subject = any> {
|
|
/**
|
|
* Pastes a file onto the subject element.
|
|
* @param fileName The name of the file to paste
|
|
* @param fileType The MIME type of the file (defaults to 'image/png')
|
|
*/
|
|
pasteFile(fileName: string, fileType?: string): Chainable<Subject>;
|
|
}
|
|
}
|