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:
parent
569c6d8479
commit
27b86fbb00
@ -86,6 +86,7 @@ export default class PlatformImplementation extends BasePlatformImplementation {
|
||||
return {
|
||||
readText: () => Clipboard.getString(),
|
||||
writeText: (text: string) => Clipboard.setString(text),
|
||||
availableFormats: () => ['text/plain'],
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user