Open
Description
openedon May 23, 2023
Part of #50891
As part of the effort to consolidate the link application experience across the editor #50891, let's use LinkControl to apply links to the core/image
and core/media-text
blocks as well. It may be useful to have LinkControl depict what controls render when in a media context (like these two blocks).
Tasks
- Implement LinkControl within the Image block.
- Implement LinkControl within the Media & Text block.
- Add a method for LinkControl to render media-specific actions at the foot (above "Add new page").
- Do not render "Text" input field when in media-specific context.
- Add support for "Class" input field in the link settings drawer when in media-specific context (supporting existing feature-set).
Visual
Current | Proposed |
---|---|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment