Remove versionchanged note for ImageChooserBlock to ImageBlock migration

Leave other versionadded/versionchanged notes intact, as they relate to deprecated features that are not yet removed and should thus be left in place until 7.0.
pull/12813/head
Matt Westcott 2025-01-27 17:43:45 +00:00 zatwierdzone przez Matt Westcott
rodzic cf19e6ea8e
commit 695ff86c87
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -370,10 +370,6 @@ The `description`, `preview_value`, and `preview_template` keyword arguments wer
``ImageBlock`` incorporates backwards compatibility with ``ImageChooserBlock``. A block initially defined as ``ImageChooserBlock`` can be directly replaced with ``ImageBlock`` - existing data created with ``ImageChooserBlock`` will be handled automatically and changed to ``ImageBlock``'s data format when the field is resaved.
```
```{versionadded} 6.3
The `ImageBlock` block type was added. Blocks previously defined as `ImageChooserBlock` can be directly replaced with `ImageBlock` to benefit from the alt text support, with no data migration or template changes required.
```
```{eval-rst}
.. autoclass:: wagtail.images.blocks.ImageChooserBlock
:show-inheritance: