Merge pull request #4363 from Vj3k0/master
Adding support to write RTF to clipboard.
This commit is contained in:
commit
3af20729bd
3 changed files with 44 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue