Skip to content

Bard: Replacing an inline image selects two images and keeps old one #13684

@o1y

Description

@o1y

Bug description

When attempting to replace an inline image in a Bard field, clicking "Replace" and uploading a new image results in two assets being selected: the previously used image and the newly uploaded one.

Image

How to reproduce

  1. Create or edit an entry with a Bard field
  2. Insert an inline image/asset
  3. Choose "Replace" and drag a new image
  4. Notice that both the old and the new image are selected
  5. Confirm the action - the old image is still shown in the editor

Logs

Environment

v6.0.0-beta.6

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions