Add readRtf feature with appropriate spec test. Docs updated as well.

This commit is contained in:
Vjekoslav Ratkajec 2016-02-05 09:06:21 +01:00
parent acd5d40ab0
commit 252b12be13
3 changed files with 28 additions and 2 deletions

View file

@ -61,9 +61,17 @@ Returns the content in the clipboard as a [NativeImage](native-image.md).
Writes `image` to the clipboard.
### `clipboard.writeRtf(text)`
### `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.