Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I/7579: Allow disabling image resize handles #7654

Merged
merged 33 commits into from
Jul 23, 2020
Merged

I/7579: Allow disabling image resize handles #7654

merged 33 commits into from
Jul 23, 2020

Conversation

panr
Copy link
Contributor

@panr panr commented Jul 20, 2020

Suggested merge commit message (convention)

Other (image): Allow to configure ImageResize in a more granular way. For example, by combining ImageResizeEditing with ImageResizeHandles or ImageResizeUI to resize image by handles or by image toolbar UI components (dropdown or standalone buttons) respectively. Closes #7579.

Docs (image): Add a new section to feature documentation for the Image plugin about disabling image resize handles.

Internal (image): Separate ImageResizeHandles plugin from the ImageResizeEditing.

Tests (image): Refactor unit tests for ImageResizeHandles and ImageResizeEditing.

@panr
Copy link
Contributor Author

panr commented Jul 21, 2020

I don't get it. Locally everything is 🟢 🤔 (all tests and yarn docs --strict).

@jodator jodator self-assigned this Jul 21, 2020
@jodator
Copy link
Contributor

jodator commented Jul 21, 2020

I don't get it. Locally everything is green_circle thinking (all tests and yarn docs --strict).

There was dev-tools update AFAIR and Kamil might be working on it.

Copy link
Contributor

@jodator jodator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor things to cover. I'm also unsure what to do with another configuration option - but let's wait with this for (#7579 (comment) answer).

packages/ckeditor5-image/docs/features/image.md Outdated Show resolved Hide resolved
packages/ckeditor5-image/src/imageresize.js Outdated Show resolved Hide resolved
packages/ckeditor5-widget/src/widgetresize.js Outdated Show resolved Hide resolved
@jodator
Copy link
Contributor

jodator commented Jul 21, 2020

@panr unfrotunately, please remove the config option. It's easier to add it later then removed unused ones.

If something is doable by adding/removing plugins we prefer that over a configuration.

@panr
Copy link
Contributor Author

panr commented Jul 22, 2020

I fixed all the minor things. Still don't know how to fix/change the test for imageresizehandles to avoid leaks.

Copy link
Contributor

@jodator jodator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jodator jodator merged commit 3396d4e into master Jul 23, 2020
@jodator jodator deleted the i/7579 branch July 23, 2020 09:07
Copy link
Contributor

@godai78 godai78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes addressed in #7756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow disabling resize handles when using resize buttons
3 participants