Skip to content

Commit

Permalink
Image (v3): Remove support for inline image editing, as the Adobe Ima…
Browse files Browse the repository at this point in the history
…ge V3 component has removed support for that as well.
  • Loading branch information
stefanseifert committed Jan 24, 2024
1 parent 77707dc commit eaf68bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,69 +8,7 @@
"wcmio:linkTargetUrlFallbackProperty": "linkURL",

"cq:editConfig": {
"jcr:primaryType": "cq:EditConfig",
"cq:inherit": true,
/*
* Overwrite inplace edit config to:
* - Disable cropping on inline toolbar as it does not support predefined ratios
* - Remove default ratios as they are fetched from assigned media formats
* - Remove image/webp support
*/
"cq:inplaceEditing": {
"jcr:primaryType": "cq:InplaceEditingConfig",
"editorType": "image",
"active": true,
"configPath": "inplaceEditingConfig",
"inplaceEditingConfig": {
"jcr:primaryType": "nt:unstructured",
"plugins": {
"crop": {
"features": "*",
"supportedMimeTypes": ["image/jpeg", "image/png", "image/tiff"]
},
"flip": {
"features": "-",
"supportedMimeTypes": ["image/jpeg", "image/png", "image/tiff"]
},
"map": {
"features": "*",
"supportedMimeTypes": ["image/jpeg", "image/png", "image/tiff", "image/svg+xml"]
},
"rotate": {
"features": "*",
"supportedMimeTypes": ["image/jpeg", "image/png", "image/tiff"]
},
"zoom": {
"features": "*",
"supportedMimeTypes": ["image/jpeg", "image/png", "image/tiff", "image/svg+xml"]
}
},
"ui": {
"inline": {
"toolbar": ["rotate#right", "history#undo", "history#redo", "fullscreen#fullscreen", "control#close", "control#finish"],
"replacementToolbars": {
"crop": ["crop#identifier", "crop#unlaunch", "crop#confirm"]
}
},
"fullscreen": {
"toolbar": {
"left": ["crop#launchwithratio", "rotate#right", "map#launch", "flip#horizontal", "flip#vertical", "zoom#reset100", "zoom#popupslider"],
"right": ["history#undo", "history#redo", "fullscreen#fullscreenexit"]
},
"replacementToolbars": {
"crop": {
"left": ["crop#identifier"],
"right": ["crop#unlaunch", "crop#confirm"]
},
"map": {
"left": ["map#rectangle", "map#circle", "map#polygon"],
"right": ["map#unlaunch", "map#confirm"]
}
}
}
}
}
}
"jcr:primaryType": "cq:EditConfig"
},

"cq:dialog": {
Expand Down
3 changes: 3 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
<action type="update" dev="sseifert">
Explicitly define folder type for JSON files with "nt:unstructured" as root node to circumvent SLING-12197.
</action>
<action type="remove" dev="sseifert">
Image (v3): Remove support for inline image editing, as the Adobe Image V3 component has removed support for that as well.
</action>
</release>

<release version="1.14.0-2.23.2" date="2023-09-08">
Expand Down

0 comments on commit eaf68bf

Please sign in to comment.