Skip to content

Hidden image is rendered in the visual editor view #111

Description

@bmgrieger

Description of the issue

I have an element where I only render the first image of a given field <f:image image="{record.assets.0}" />
The field has no "maxitems" defined in TCA. I added a second image and deactivated the first image. In the real frontend the second image is correctly shown. The visual editor view still shows the first deactivated image. The "Show hidden" toggle has no impact on this behavior.

Expectation

Deactivated images should also be ignored in the visual editor view when hidden elements are not shown.

Related issues

This might be related to #65

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions