1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48: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

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'],
};
}