kopia lustrzana https://github.com/wagtail/wagtail
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
rodzic
cf19e6ea8e
commit
695ff86c87
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue