Merge pull request #4363 from Vj3k0/master

Adding support to write RTF to clipboard.
This commit is contained in:
Kevin Sawicki 2016-02-09 13:23:47 -08:00
commit 3af20729bd
3 changed files with 44 additions and 1 deletions

View file

@ -61,6 +61,20 @@ Returns the content in the clipboard as a [NativeImage](native-image.md).
Writes `image` to the clipboard.
### `clipboard.readRtf([type])`
* `type` String (optional)
Returns the content in the clipboard as RTF.
### `clipboard.writeRtf(text[, type])`
* `text` String
* `type` String (optional)
Writes the `text` into the clipboard in RTF.
### `clipboard.clear([type])`
* `type` String (optional)