feat(ew): add image overlay for alt text and replace in content mode#1005
Open
ravuthu wants to merge 1 commit into
Open
feat(ew): add image overlay for alt text and replace in content mode#1005ravuthu wants to merge 1 commit into
ravuthu wants to merge 1 commit into
Conversation
Add an image-anchored overlay in Experience Workspace content/split mode that lets authors edit alt text and replace an image without opening the siderail. Replace offers Browse AEM Assets (capability-gated), upload from computer, and replace-from-URL, and preserves existing image attributes. - ew-image-overlay: icons over the selected image, alt + replace popover, AEM Assets selector hosted in a native dialog, all attribute-preserving - selection-toolbar: spawn the overlay for image NodeSelections; keep the text toolbar for everything else - imageDrop: replace-in-place when dropping an image onto an existing one - aem-assets: hasAemAssetsConfig capability check + replace-in-place on asset selection - image-ops: shared helpers (getSelectedImage, updateImageAttrs, altFromFilename, uploadImageToDa) Layout-mode image editing is intentionally out of scope and will follow in a separate change. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add an image-anchored overlay in Experience Workspace content/split mode that lets authors edit alt text and replace an image without opening the siderail. Replace offers Browse AEM Assets (capability-gated), upload from computer, and replace-from-URL, and preserves existing image attributes.
Layout-mode image editing is out of scope and will follow in a separate change.
Related Issue
https://jira.corp.adobe.com/browse/SITES-45673
Motivation and Context
How Has This Been Tested?
Override scripts from Chrome dev tools and validated
Screenshots (if appropriate):
Types of changes
Checklist: