From ac8d0d2c6fe3db3b8e196051e6a7e81c9a3a9698 Mon Sep 17 00:00:00 2001 From: OlegApanovich Date: Mon, 13 Apr 2026 09:54:24 +0300 Subject: [PATCH 1/2] feat: #3300 additional setting param for attach_image and attach_images --- devs/params/attach_image.md | 8 ++++++++ devs/params/attach_images.md | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/devs/params/attach_image.md b/devs/params/attach_image.md index fabc855..023bb58 100644 --- a/devs/params/attach_image.md +++ b/devs/params/attach_image.md @@ -50,6 +50,14 @@ All param types support these common parameters: | `callback` | Array | JavaScript function callback (e.g., `['after_add' => 'myCallback']`) | | `settings` | Array | Type-specific configuration options (see Type-Specific Parameters below) | +## Type-Specific Parameters + +| Parameter | Type | Default | Description | +|-----------|------|---------|----------------------------------------------------| +| `settings` | Array | - | Configuration array with the following options: | +|     `is_link_icon` | Boolean | `false` | Whether to show the link icon inside image preview | + + ## Complete Example ```php diff --git a/devs/params/attach_images.md b/devs/params/attach_images.md index 63a73da..9f9185b 100644 --- a/devs/params/attach_images.md +++ b/devs/params/attach_images.md @@ -49,6 +49,13 @@ All param types support these common parameters: | `callback` | Array | JavaScript function callback (e.g., `['after_add' => 'myCallback']`) | | `settings` | Array | Type-specific configuration options (see Type-Specific Parameters below) | +## Type-Specific Parameters + +| Parameter | Type | Default | Description | +|-----------|------|---------|----------------------------------------------------| +| `settings` | Array | - | Configuration array with the following options: | +|     `is_link_icon` | Boolean | `false` | Whether to show the link icon inside image preview | + ## Complete Example ```php From 0f40976bf6c2fdf75c94f393da81f46dc16d6f0d Mon Sep 17 00:00:00 2001 From: OlegApanovich Date: Mon, 13 Apr 2026 09:59:25 +0300 Subject: [PATCH 2/2] feat: #3300 ai review --- devs/params/attach_image.md | 8 ++++---- devs/params/attach_images.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/devs/params/attach_image.md b/devs/params/attach_image.md index 023bb58..d247db9 100644 --- a/devs/params/attach_image.md +++ b/devs/params/attach_image.md @@ -52,10 +52,10 @@ All param types support these common parameters: ## Type-Specific Parameters -| Parameter | Type | Default | Description | -|-----------|------|---------|----------------------------------------------------| -| `settings` | Array | - | Configuration array with the following options: | -|     `is_link_icon` | Boolean | `false` | Whether to show the link icon inside image preview | +| Parameter | Type | Default | Description | +|-----------|------|---------|--------------------------------------------------------| +| `settings` | Array | - | Configuration array with the following options: | +|     `is_link_icon` | Boolean | `false` | Whether to show the link icon inside the image preview | ## Complete Example diff --git a/devs/params/attach_images.md b/devs/params/attach_images.md index 9f9185b..86a2875 100644 --- a/devs/params/attach_images.md +++ b/devs/params/attach_images.md @@ -51,10 +51,10 @@ All param types support these common parameters: ## Type-Specific Parameters -| Parameter | Type | Default | Description | -|-----------|------|---------|----------------------------------------------------| -| `settings` | Array | - | Configuration array with the following options: | -|     `is_link_icon` | Boolean | `false` | Whether to show the link icon inside image preview | +| Parameter | Type | Default | Description | +|-----------|------|---------|--------------------------------------------------------| +| `settings` | Array | - | Configuration array with the following options: | +|     `is_link_icon` | Boolean | `false` | Whether to show the link icon inside the image preview | ## Complete Example