{"id":21569920,"url":"https://github.com/iterable/ckeditor-dragresize","last_synced_at":"2025-03-18T06:13:00.440Z","repository":{"id":72190059,"uuid":"129132023","full_name":"Iterable/ckeditor-dragresize","owner":"Iterable","description":"ckeditor dragresize plugin","archived":false,"fork":false,"pushed_at":"2018-04-11T17:52:13.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":62,"default_branch":"master","last_synced_at":"2025-01-24T12:45:16.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Iterable.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-11T17:44:04.000Z","updated_at":"2018-04-15T11:52:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"e22c296d-3bd4-47fb-ba94-289e82290d88","html_url":"https://github.com/Iterable/ckeditor-dragresize","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iterable%2Fckeditor-dragresize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iterable%2Fckeditor-dragresize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iterable%2Fckeditor-dragresize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iterable%2Fckeditor-dragresize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Iterable","download_url":"https://codeload.github.com/Iterable/ckeditor-dragresize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166760,"owners_count":20409179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T11:11:03.773Z","updated_at":"2025-03-18T06:13:00.420Z","avatar_url":"https://github.com/Iterable.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#CKEditor plugin: Dragable image resizing\r\n\r\nThis plugin implements draggable image resizing, currently just for Webkit-based browsers (Chrome/Safari/Opera). This feature already exists in Firefox and Internet Explorer as a built-in browser capability but not in the other browsers. So if you or your users are used to seeing the drag-to-resize handles at the corner of images, but use Chrome or Safari, install this plugin to get it back (with a few bonus features).\r\n\r\n###Demo:\r\n[Online Demo Here] (http://sstur.github.io/ck-dragresize/)\r\n\r\n###Features:\r\n * Shows semi-transparent overlay while resizing\r\n * Enforces Aspect Ratio (unless holding shift)\r\n * Snap to size of other images in editor (optional)\r\n * Escape while dragging cancels resize\r\n * Undo and Redo support\r\n * Image dragging and Right-click still work\r\n\r\nI have implemented this feature in pure JavaScript with no external dependencies. It only activates if a supported browser is detected. It has been tested in most recent versions of Chrome and Safari on PC and Mac.\r\n\r\n###Browser Support\r\n * Chrome and Safari are currently supported\r\n * Opera support is reportedly working but not fully tested\r\n * Firefox and IE have this feature built-in, so this plugin does not activate in those browsers\r\n\r\n###Todo / Planned Features\r\n * Somehow account for images that have border/padding so sizing is more accurate\r\n * Allow use in Firefox and modern IE (disabling the built-in feature)\r\n\r\n###Contributers:\r\n  * [Simon Sturmer] (https://github.com/sstur)\r\n  * [Nathan Haug] (https://github.com/quicksketch)\r\n  * [ruscoder] (https://github.com/ruscoder)\r\n  * [Brant Wynn] (https://github.com/brantwynn)\r\n\r\nPlease, if you notice any bugs, open an issue in the [issue tracker](ck-dragresize/issues).\r\n\r\nThis plugin is licensed under the MIT license. See [LICENSE](ck-dragresize/blob/master/LICENSE) for further details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiterable%2Fckeditor-dragresize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiterable%2Fckeditor-dragresize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiterable%2Fckeditor-dragresize/lists"}