diff --git a/integrations/pup.md b/integrations/pup.md index 5f5fd34..33206c7 100644 --- a/integrations/pup.md +++ b/integrations/pup.md @@ -62,14 +62,24 @@ Named color palette of the button or a comma-separated list of colors (HEX, RGB, ### `auto-insert` - Embed codes to auto insert in the target editable content. Codes using `full`, `medium` or `thumbnail` will link to the image viewer page. +Embed codes to auto insert in the target editable content. Codes using `full`, `medium` or `thumbnail` will link to the image viewer page. - Use `0` to disable auto insert. +Use `0` to disable auto insert. | Type | Values | Default | | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | | String | `0` `viewer-links` `direct-links` `html-embed` `html-embed-full` `html-embed-medium` `html-embed-thumbnail` `bbcode-embed` `bbcode-embed-full` `bbcode-embed-medium` `bbcode-embed-thumbnail` `markdown-embed` `markdown-embed-full` `markdown-embed-medium` `markdown-embed-thumbnail` | `bbcode-embed-medium` | +### `auto-close` + +A boolean indicating if the popup should auto close after the image is inserted. + +Use `0` to disable auto-close. + +| Type | Values | Default | +| ------- | ------- | ------- | +| Integer | `0` `1` | `1` | + ### `sibling` Sibling CSS selector to use it as a reference to the DOM node where the button should be inserted. By default, the button will be placed relative to the editable content. When the sibling is defined, the plugin will search for that element and it will use it as the reference for button insertion.