-
Notifications
You must be signed in to change notification settings - Fork 413
Open
Description
Hi, thank you for maintaining Squire.
I am using Squire in my application, and since updating to v2.4.0, the newly introduced image resize feature has caused some unexpected issues in our existing UX.
Current Behavior
In our application, users interact with images in the following ways:
- Single-click on an image puts it into a selected state, after which they can press Ctrl+C or Ctrl+X to copy or cut the image.
- Double-click opens our custom image editing dialog.
After updating to v2.4.0, the resize handles and resize behavior interfere with these interactions.
Specifically:
- On single-click: The resize container intercepts keydown events, preventing copy/cut operations (Ctrl+C / Ctrl+X).
- On double-click: When opening the image edit dialog, the resize container remains visible, and after editing (where the image element is replaced), the resize UI no longer behaves correctly.
Request
Could you please add an option to disable the image resize feature introduced in v2.4.0?
Something like:
new Squire(editorElement, {
enableImageResize: false
});This would help applications relying on custom image interactions maintain their existing UX.
Thank you for considering this request!
Poldraunic and nik736
Metadata
Metadata
Assignees
Labels
No labels