mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-08 16:30:26 +00:00
Document what happens if the selector returns multiple DOM nodes
This commit is contained in:
parent
925d3b0b4c
commit
6e1b58fca7
@ -11,7 +11,7 @@ Note that there are some limitations to saving content loaded from external doma
|
||||
The following parameters are supported:
|
||||
|
||||
|!Parameters |!Description |
|
||||
|''selector'' |CSS selector identifying the DOM node to be saved as an image (defaults to `body`) |
|
||||
|''selector'' |CSS selector identifying the DOM node to be saved as an image (defaults to `body`). If multiple DOM nodes are returned by the selector then the first one is used |
|
||||
|''format'' |Save format: ''png'', ''jpeg'' or ''svg'' (defaults to ''png'') |
|
||||
|''quality'' |Optional quality 0 to 1 for JPEG images (note that the default quality is 1, and this default is applied even if the quality is explicitly specified as `0`. To force a low quality JPEG image it is therefore necessary to specify a small non-zero value such as `0.001`) |
|
||||
|''scale'' |Optional scale factor for the image (defaults to 1) |
|
||||
|
Loading…
Reference in New Issue
Block a user