-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
e9d5db0
commit bfef0e8
Showing
27 changed files
with
552 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.