Image resizer doesn't work with LinkImage #8749
Labels
intro
Good first ticket.
package:image
squad:core
Issue to be handled by the Core team.
type:bug
This issue reports a buggy (incorrect) behavior.
type:regression
This issue reports a bug that was not present in the previous releases.
Milestone
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
Resize buttons appeared on the image
❌ Actual result
Resize buttons did not appear on the image
This is due to a condition in imageresizehandler.js:
if ( !domEvent.target.matches( 'figure.image.ck-widget > img' ) ) { return; }
But with link on image the selector should be as follows: figure.image.ck-widget > a > img.
Tell me how can I fix this on my own? If I change imageresizehandler.js, then how can I load it correctly into my custom build
The text was updated successfully, but these errors were encountered: