Skip to content

Add a dismiss button to plugin-injected media area content #262

@Arthurk12

Description

@Arthurk12

Describe the feature
Users have reported frustration with the lack of a clear way to close content injected by plugins into the media/presentation area. Currently, there is no standard UI affordance for dismissing such content, which leads to confusion.

It would be useful to establish a consistent pattern for this — such as a close (✕) button in the upper corner of the injected content area — and expose it as a configurable option in the plugin SDK API. Something like a dismissible: true/false property in the media area injection API, which
would render a close button when enabled.

Expected behavior
When dismissible: true is passed in the media area plugin injection, a close button (✕) should be rendered in the upper corner of the injected content. Clicking it should dismiss the content and restore the default media area state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions