{"id":21412907,"url":"https://github.com/hunghg255/quill-resize-image","last_synced_at":"2025-07-27T08:05:17.963Z","repository":{"id":174658884,"uuid":"626267229","full_name":"hunghg255/quill-resize-image","owner":"hunghg255","description":"A plugin resize image for Quilljs","archived":false,"fork":false,"pushed_at":"2025-06-28T04:43:20.000Z","size":8128,"stargazers_count":42,"open_issues_count":12,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T05:29:20.109Z","etag":null,"topics":["editor","image","modify","modify-image","photos","plugin","quill-editor","quilljs","react-quill","resize","resize-images"],"latest_commit_sha":null,"homepage":"https://quill-resize-image.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hunghg255.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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,"zenodo":null},"funding":{"github":["hunghg255"]}},"created_at":"2023-04-11T06:05:28.000Z","updated_at":"2025-06-28T04:43:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4044b50-d306-466d-97d1-1fa413f8a6dd","html_url":"https://github.com/hunghg255/quill-resize-image","commit_stats":null,"previous_names":["hunghg255/quill-resize-module"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/hunghg255/quill-resize-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Fquill-resize-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Fquill-resize-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Fquill-resize-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Fquill-resize-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunghg255","download_url":"https://codeload.github.com/hunghg255/quill-resize-image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Fquill-resize-image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265233753,"owners_count":23731825,"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":["editor","image","modify","modify-image","photos","plugin","quill-editor","quilljs","react-quill","resize","resize-images"],"created_at":"2024-11-22T18:16:08.538Z","updated_at":"2025-07-14T02:32:41.860Z","avatar_url":"https://github.com/hunghg255.png","language":"TypeScript","funding_links":["https://github.com/sponsors/hunghg255"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/quill-resize-image\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n\u003cimg src=\"https://api.iconify.design/fluent:resize-image-20-filled.svg?color=%23fdb4e2\" alt=\"logo\" width='100'/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A library resize image for \u003ca href=\"https://quilljs.com/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eQuill\u003c/a\u003e editor.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/quill-resize-image\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://badge.fury.io/js/csvs-parsers.svg\" alt=\"NPM Version\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/quill-resize-image\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/csvs-parsers.svg?logo=npm\" alt=\"NPM Downloads\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://bundlephobia.com/result?p=quill-resize-image\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://img.shields.io/bundlephobia/minzip/quill-resize-image\" alt=\"Minizip\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hunghg255/quill-resize-image/graphs/contributors\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://img.shields.io/badge/all_contributors-1-orange.svg\" alt=\"Contributors\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hunghg255/quill-resize-image/blob/main/LICENSE\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://badgen.net/github/license/hunghg255/quill-resize-image\" alt=\"License\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Demo\n\n[Quill Resize Image](https://quill-resize-image.vercel.app/)\n\n## Install\n\n```bash\nnpm i quill-resize-image@latest\n```\n\nWith `yarn`\n\n```bash\nyarn add quill-resize-image\n```\n\n## Reactjs\n\n```tsx\nimport ReactQuill, { Quill } from 'react-quill';\nimport QuillResizeImage from 'quill-resize-image';\n\n/**\n- add object resize to modules.\n**/\n\n// resize: {\n//   locale: {},\n// },\n\n\nQuill.register(\"modules/resize\", window.QuillResizeImage);\n\nconst App = () =\u003e {\n  const Editor = {\n      modules: {\n        toolbar: {\n          container: [\n            ['image'],\n          ],\n        },\n        resize: {\n          locale: {},\n        },\n      },\n      formats: [\n        'image',\n      ],\n    };\n\n  return \u003cReactQuill\n      modules={Editor.modules}\n      formats={Editor.formats}\n      theme='snow'\n    /\u003e\n}\n\n```\n\n## Browser\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"UTF-8\" /\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n    \u003ctitle\u003eDocument\u003c/title\u003e\n    \u003clink\n      crossorigin=\"anonymous\"\n      integrity=\"sha384-7kltdnODhBho8GSWnwD9l9rilXkpuia4Anp4TKHPOrp8/MS/+083g4it4MYED/hc\"\n      href=\"http://lib.baomitu.com/quill/2.0.0-dev.3/quill.snow.min.css\"\n      rel=\"stylesheet\"\n    /\u003e\n    \u003cscript\n      crossorigin=\"anonymous\"\n      integrity=\"sha384-MDio1/ps0nK1tabxUqZ+1w2NM9faPltR1mDqXcNleeuiSi0KBXqIsWofIp4r5A0+\"\n      src=\"http://lib.baomitu.com/quill/2.0.0-dev.3/quill.min.js\"\n    \u003e\u003c/script\u003e\n       \u003cscript defer src=\"https://cdn.jsdelivr.net/gh/hunghg255/quill-resize-module/dist/quill-resize-image.min.js\"\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv id=\"editor\"\u003e\n      \u003cp\u003eHello World!\u003c/p\u003e\n      \u003cp\u003eSome initial \u003cstrong\u003ebold\u003c/strong\u003e text\u003c/p\u003e\n      \u003cp\u003e\u003cbr /\u003e\u003c/p\u003e\n    \u003c/div\u003e\n  \u003c/body\u003e\n  \u003cscript\u003e\n    Quill.register(\"modules/resize\", window.QuillResizeImage);\n\n    var toolbarOptions = [\n      \"bold\",\n      \"italic\",\n      \"underline\",\n      \"strike\",\n      \"image\",\n      \"video\",\n    ];\n    var quill = new Quill(\"#editor\", {\n      theme: \"snow\",\n      modules: {\n        toolbar: toolbarOptions,\n        resize: {\n          locale: {\n            center: \"center\",\n          },\n        },\n      },\n    });\n  \u003c/script\u003e\n\u003c/html\u003e\n```\n\n\n## All Contributors\n\nThanks to the following friends for their contributions to project:\n\n\u003ca href=\"https://github.com/hunghg255/quill-resize-image/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=hunghg255/quill-resize-image\" alt=\"contributors\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghg255%2Fquill-resize-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunghg255%2Fquill-resize-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghg255%2Fquill-resize-image/lists"}