{"id":13535658,"url":"https://github.com/NoelOConnell/quill-image-uploader","last_synced_at":"2025-04-02T02:31:08.266Z","repository":{"id":32922055,"uuid":"146354938","full_name":"NoelOConnell/quill-image-uploader","owner":"NoelOConnell","description":"A module for Quill rich text editor to allow images to be uploaded to a server instead of being base64 encoded","archived":false,"fork":false,"pushed_at":"2024-07-18T14:27:05.000Z","size":570,"stargazers_count":239,"open_issues_count":33,"forks_count":97,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-14T00:31:41.036Z","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/NoelOConnell.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-08-27T21:12:01.000Z","updated_at":"2024-10-12T15:40:02.000Z","dependencies_parsed_at":"2024-01-14T02:36:50.532Z","dependency_job_id":"9f7af54d-87cd-4fd1-ad02-d6f62628fdb5","html_url":"https://github.com/NoelOConnell/quill-image-uploader","commit_stats":{"total_commits":50,"total_committers":6,"mean_commits":8.333333333333334,"dds":0.52,"last_synced_commit":"cf0be68e01aa72081a5cc8873d927085d820aae6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoelOConnell%2Fquill-image-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoelOConnell%2Fquill-image-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoelOConnell%2Fquill-image-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoelOConnell%2Fquill-image-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NoelOConnell","download_url":"https://codeload.github.com/NoelOConnell/quill-image-uploader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222351643,"owners_count":16970667,"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-08-01T09:00:20.318Z","updated_at":"2024-11-03T00:31:18.217Z","avatar_url":"https://github.com/NoelOConnell.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Quill ImageHandler Module\n\nA module for Quill rich text editor to allow images to be uploaded to a server instead of being base64 encoded.\nAdds a button to the toolbar for users to click, also handles drag,dropped and pasted images.\n\n## Demo\n\n![Image of Yaktocat](/static/quill-example.gif)\n\n### Install\n\nInstall with npm:\n\n```bash\nnpm install quill-image-uploader --save\n```\n\n### Webpack/ES6\n\n```javascript\nimport Quill from \"quill\";\nimport ImageUploader from \"quill-image-uploader\";\n\nimport 'quill-image-uploader/dist/quill.imageUploader.min.css';\n\nQuill.register(\"modules/imageUploader\", ImageUploader);\n\nconst quill = new Quill(editor, {\n  // ...\n  modules: {\n    // ...\n    imageUploader: {\n      upload: (file) =\u003e {\n        return new Promise((resolve, reject) =\u003e {\n          setTimeout(() =\u003e {\n            resolve(\n              \"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/JavaScript-logo.png/480px-JavaScript-logo.png\"\n            );\n          }, 3500);\n        });\n      },\n    },\n  },\n});\n```\n\n### Quickstart (React with react-quill)\n\nReact Example on [CodeSandbox](https://codesandbox.io/s/react-quill-demo-qr8xd)\n\n### Quickstart (script tag)\n\nExample on [CodeSandbox](https://codesandbox.io/s/mutable-tdd-lrsvh)\n\n```javascript\n// A link to quill.js\n\u003cscript src=\"/dist/quill.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"/dist/quill.imageUploader.min.js\"\u003e\u003c/script\u003e\n\nQuill.register(\"modules/imageUploader\", ImageUploader);\n\nvar quill = new Quill(editor, {\n  // ...\n  modules: {\n    // ...\n    imageUploader: {\n      upload: file =\u003e {\n        return new Promise((resolve, reject) =\u003e {\n          setTimeout(() =\u003e {\n            resolve(\n              \"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/JavaScript-logo.png/480px-JavaScript-logo.png\"\n            );\n          }, 3500);\n        });\n      }\n    }\n  }\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNoelOConnell%2Fquill-image-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNoelOConnell%2Fquill-image-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNoelOConnell%2Fquill-image-uploader/lists"}