You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG-WIP.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,8 @@
3
3
### Content Management
4
4
- Collapsed Matrix blocks now show their entries’ UI labels as preview text, whenever possible. ([#18484](https://github.com/craftcms/cms/discussions/18484))
5
5
- Element-level actions within nested element management fields (Matrix, Addresses, etc.) now consistently affect all selected elements, when performed on a selected element. ([#18561](https://github.com/craftcms/cms/pull/18561))
6
-
- Elements within Matrix and Addresses fields now have “Paste above” actions when a compatible element is copied. ([#17406](https://github.com/craftcms/cms/discussions/17406))
6
+
- Elements within Matrix and Addresses fields now have “Paste above” actions when a compatible element is copied. ([#17406](https://github.com/craftcms/cms/discussions/17406))
7
+
- Elements now keep track of the index page’s URL their edit page was linked to from, and explicitly redirect back to that page after save, rather than always redirecting to the referrer. ([#18680](https://github.com/craftcms/cms/pull/18680))
7
8
- Addresses fields now have a “Copy all addresses” field-level action. ([#18561](https://github.com/craftcms/cms/pull/18561))
8
9
- Matrix fields’ “Expand”, “Collapse”, and “Copy” field-level actions now always affect all nested entries, regardless of whether any entries are selected. ([#18561](https://github.com/craftcms/cms/pull/18561))
9
10
- Matrix fields no longer have “Duplicate” and “Delete” field-level actions. ([#18561](https://github.com/craftcms/cms/pull/18561))
Copy file name to clipboardExpand all lines: src/helpers/Cp.php
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -526,6 +526,7 @@ public static function chipHtml(Chippable $component, array $config = []): strin
526
526
* - `class` – Class name(s) that should be added to the container element
527
527
* - `context` – The context the chip is going to be shown in (`index`, `field`, etc.)
528
528
* - `hyperlink` – Whether the chip label should be hyperlinked to the element’s URL
529
+
* - `returnUrl` – The `returnUrl` param that should be added to the hyperlink URL
529
530
* - `id` – The chip’s `id` attribute
530
531
* - `inputName` – The `name` attribute that should be set on a hidden input, if set
531
532
* - `inputValue` – The `value` attribute that should be set on the hidden input, if `inputName` is set. Defaults to [[\craft\base\Identifiable::getId()`]].
@@ -555,6 +556,7 @@ public static function elementChipHtml(ElementInterface $element, array $config
555
556
'attributes' => [],
556
557
'autoReload' => true,
557
558
'context' => 'index',
559
+
'returnUrl' => null,
558
560
'id' => sprintf('chip-%s', mt_rand()),
559
561
'inputName' => null,
560
562
'selectable' => false,
@@ -574,6 +576,7 @@ public static function elementChipHtml(ElementInterface $element, array $config
0 commit comments