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.
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/falseproperty in the media area injection API, whichwould render a close button when enabled.
Expected behavior
When
dismissible: trueis 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.