[PE-46] fix: added aspect ratio to resizing (#5693)

* fix: added aspect ratio to resizing

* fix: image loading

* fix: image uploading and adding only necessary keys to listen to

* fix: image aspect ratio maintainance done

* fix: loading of images with uploads

* fix: custom image extension loading fixed

* fix: refactored all the upload logic

* fix: focus detection for editor fixed

* fix: drop images and inserting images cleaned up

* fix: cursor focus after image node insertion and multi drop/paste range error fix

* fix: image types fixed

* fix: remove old images' upload code and cleaning up the code

* fix: imports

* fix: this reference in the plugin

* fix: added file validation

* fix: added error handling while reading files

* fix: prevent old data to be updated in updateAttributes

* fix: props types for node and image block

* fix: remove unnecessary dependency

* fix: seperated display message logic from ui

* chore: added comments to better explain the loading states

* fix: added getPos to deps

* fix: remove click event on failed to load state

* fix: css for error and selected state
This commit is contained in:
M. Palanikannan 2024-09-30 19:43:14 +05:30 committed by GitHub
parent e9d5db0093
commit bfef0e89e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 555 additions and 591 deletions

View file

@ -125,7 +125,7 @@
margin-top: 0 !important;
margin-bottom: 0;
&:not(.read-only-image) {
&:not(.read-only-image):not(.loading-image) {
transition: filter 0.1s ease-in-out;
&:hover {