From 6e1b58fca7cc026f9671fcb04a4d8d125b522045 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 10 Dec 2024 12:49:55 +0000 Subject: [PATCH] Document what happens if the selector returns multiple DOM nodes --- plugins/tiddlywiki/geospatial/docs/save-dom-to-image.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/geospatial/docs/save-dom-to-image.tid b/plugins/tiddlywiki/geospatial/docs/save-dom-to-image.tid index f3f17c045..8d17a0a42 100644 --- a/plugins/tiddlywiki/geospatial/docs/save-dom-to-image.tid +++ b/plugins/tiddlywiki/geospatial/docs/save-dom-to-image.tid @@ -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) |