1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Android: Plugin API: Support clipboard.availableFormats (#10209)

This commit is contained in:
Henry Heino 2024-03-26 04:36:04 -07:00 committed by GitHub
parent 569c6d8479
commit 27b86fbb00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,6 +86,7 @@ export default class PlatformImplementation extends BasePlatformImplementation {
return {
readText: () => Clipboard.getString(),
writeText: (text: string) => Clipboard.setString(text),
availableFormats: () => ['text/plain'],
};
}