Follow-up to #2061377: [drupalImage] Optionally apply image style to images uploaded in CKEditor 5.
Problem/Motivation
In point 14 of #2061377-253: [drupalImage] Optionally apply image style to images uploaded in CKEditor 5 it was suggested to disable the resize handles for inline images within the wysiwyg mode of ckeditor when an image style is set for the image.
Proposed resolution
Disable the resize handles for images that have an image style set.
User interface changes
- Different user experience for manipulating inline images.
API changes
None.
Comments
Comment #2
ifreeman commentedComment #8
gaëlgFor anyone having this problem, a temporary workaround is:
CKEDITOR.config.image2_disableResizer = true;One way to set this config is to use: https://www.drupal.org/project/ckeditor_config
But this cannot be a proper core fix because it disables all CKE image resize handles, even on images with no image styles.
Comment #15
wim leersEditorImageDialogis no more: #3306584: [11.x] Remove EditorLinkDialog, EditorImageDialog and EditorMediaDialog in Drupal 11.But this could still land — see #2061377-463: [drupalImage] Optionally apply image style to images uploaded in CKEditor 5.