{"_id":"@appsflare/quill-image-resize-module","_rev":"4-c4fd0bde2bf6232e133068f38e05f1c8","name":"@appsflare/quill-image-resize-module","dist-tags":{"latest":"3.0.3"},"versions":{"3.0.0":{"name":"@appsflare/quill-image-resize-module","version":"3.0.0","description":"A module for Quill rich text editor to allow images to be resized.","main":"image-resize.min.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","release":"webpack -p --progress --colors","dev":"webpack --progress --colors --watch","lint":"eslint --ext js,es6 src","fixlint":"eslint --fix --ext js,es6 src"},"repository":{"type":"git","url":"git+https://github.com/appsflare/quill-image-resize-module.git"},"keywords":["quill","quilljs","image","resize","sizer"],"author":{"name":"@kensnyder"},"contributors":[{"name":"Wikia","url":"https://github.com/Wikia"},{"name":"Srinath","url":"https://github.com/vjsrinath"}],"license":"MIT","bugs":{"url":"https://github.com/appsflare/quill-image-resize-module/issues"},"homepage":"https://github.com/appsflare/quill-image-resize-module#readme","devDependencies":{"babel-cli":"^6.24.0","babel-eslint":"^7.2.1","babel-loader":"^6.4.1","babel-plugin-transform-class-properties":"^6.23.0","babel-preset-env":"^1.2.2","babel-preset-es2015":"^6.24.0","eslint":"^3.19.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0","eslint-plugin-react":"^6.10.3","webpack":"^2.3.3"},"dependencies":{"lodash":"^4.17.4","quill":"^1.2.2","raw-loader":"^0.5.1"},"gitHead":"3411c9a710d48f7017016001ca8407467f1202cd","_id":"@appsflare/quill-image-resize-module@3.0.0","_npmVersion":"5.8.0","_nodeVersion":"8.10.0","_npmUser":{"name":"vjsrinath","email":"vjsrinath@live.com"},"dist":{"integrity":"sha512-Y0WC+4DiUVweGMwuHC21oOeb3UwXZp6sFYh7kqmzljBPSJ+iQK1ulfo0+xntaEyOXSNdzXcn6wtegc73hsoNWQ==","shasum":"d564e6d49be0a6183f215e21745766aff8cbe1dd","tarball":"https://registry.npmjs.org/@appsflare/quill-image-resize-module/-/quill-image-resize-module-3.0.0.tgz","fileCount":16,"unpackedSize":478505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3FW8CRA9TVsSAnZWagAAu3UP/RwoIYWnrXp6ABDxR2Ks\nZxKN3w+8uAor8S3YbF9wR10wmGFKz5NtVxi6V+iB2mu+YEzDkXnCsxq7597Y\n/vCH5iQIRppRHa0/mizTsYpXUYQSPO6dyNFn3uGKllnkIKIWrbMI0Ny34RuT\nsoQiSSWpC8ay13WTqNij3NstwZDjUWmswW38vIl0+rBbXBow8ZEdKstVUlUF\npjE1tw/5ryou7gO7M8zNx84tsKO/JU6FaK6KJ5SYFQvsDWvdPldkqno3g+6f\nQaF39GVxyEO8yS+MnOqXy2R1jBCVstFrKMDhZeeO3W1Am55g0LtSXfEFMfrC\nwARSg/xMM1aWokjSuo42RdFQCNVwllUpmibx+ZClXALWg2JSeElMSUgVOVPO\nx1xAeDLH5VlQT5yCSpPIag3ljGRVV5qmxYppvbuq0Feqn1TL1WI9J5+kZjbp\n2sqQOqhtHe7lDn289Hgjd+90p5jPvYIzKOf5Zc8iAtkmpb2k5enW2T3GX+qO\nXuKQpnF9rgJH2Yi4IHKqkOR698gY3s6jydh/H+WDROChKtwSE7AtHuZH7ZD7\nnbWUHnn8HgLMErM5gDgHFnmSVMCYDib1Q2bmYPtvGScxDiP9fJekDJ+HyVsa\nOz5xDgSNRb/vEOrJtUfRpA0O9/Q4YUhyfXKdhUzLqNC8T8Ksn1dIlM4iUkqS\nfMrg\r\n=rCHD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFSkrv2EtiOpVov/GVQgR8BY7FiAEVMpSA/TQTxU4XR0AiEAojRBCX4KSSSVnUdTdToYWFx1dBs34x5AVPT5vH7QIWE="}]},"maintainers":[{"name":"vjsrinath","email":"vjsrinath@live.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quill-image-resize-module_3.0.0_1524389307597_0.22700696273691823"},"_hasShrinkwrap":true},"3.0.1":{"name":"@appsflare/quill-image-resize-module","version":"3.0.1","description":"A module for Quill rich text editor to allow images to be resized.","main":"image-resize.min.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","release":"webpack -p --progress --colors","dev":"webpack --progress --colors --watch","lint":"eslint --ext js,es6 src","fixlint":"eslint --fix --ext js,es6 src"},"repository":{"type":"git","url":"git+https://github.com/appsflare/quill-image-resize-module.git"},"keywords":["quill","quilljs","image","resize","sizer"],"author":{"name":"@kensnyder"},"contributors":[{"name":"Wikia","url":"https://github.com/Wikia"},{"name":"Srinath","url":"https://github.com/vjsrinath"}],"license":"MIT","bugs":{"url":"https://github.com/appsflare/quill-image-resize-module/issues"},"homepage":"https://github.com/appsflare/quill-image-resize-module#readme","devDependencies":{"babel-cli":"^6.24.0","babel-eslint":"^7.2.1","babel-loader":"^6.4.1","babel-plugin-transform-class-properties":"^6.23.0","babel-preset-env":"^1.2.2","babel-preset-es2015":"^6.24.0","eslint":"^3.19.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0","eslint-plugin-react":"^6.10.3","webpack":"^2.3.3"},"dependencies":{"lodash":"^4.17.4","quill":"^1.2.2","raw-loader":"^0.5.1"},"gitHead":"3411c9a710d48f7017016001ca8407467f1202cd","_id":"@appsflare/quill-image-resize-module@3.0.1","_npmVersion":"5.8.0","_nodeVersion":"8.10.0","_npmUser":{"name":"vjsrinath","email":"vjsrinath@live.com"},"dist":{"integrity":"sha512-4DutBKH9xd485JaJZoHu84BLzdCnYWpl867vobDPCUluUhHQo+ol4eeTwK46jiGSScRGKzO3kuGIsa8MJ+R11w==","shasum":"43e58b741ccf03fccee663f52d0573a607aab2eb","tarball":"https://registry.npmjs.org/@appsflare/quill-image-resize-module/-/quill-image-resize-module-3.0.1.tgz","fileCount":16,"unpackedSize":251092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3Fg+CRA9TVsSAnZWagAAOHEP/0va11K57l77oZHhN2D0\nh4OBEyGN1fKGBUtP6Sv0GQQ2C1IK+H1NGexRi107/AnX9DdgfhqhGc0Lv8ZZ\nEV9vkZWhw3r9CIAZXLN6e6zJK7jUWBospk+ZaoGApwqJp/QzrUoc+xC/8DiG\nq99Yut5yVG38Z6umldjIPO6bPQtl8+17zC7raU3KhHb3YPScZiR09jJpuz7p\nc1CNI3hIYnu4Nnd6Wrb02U0SzeYENGLkycCOMNn6sRNGNWm36MbUaSOivoOX\n/6j38sU5/iLpBpuE7SSAYxH+MMRCs/TA1HrARnWYupOW+av+mOX81LNhFzcv\nfxfXkw1yVv+jup+qF7v8dPh3E7OtKa/8bLuHzu0B6Y9KCbQU5V/HUGUb+3ph\np9bFLp6aKyLfOzF+A8Bt4TrA4VbkKldJX36ZHusxrACkoqJ1h+ua6MnumlOO\nylPe8TKLvYH2v6u0Cn/F2pXgG7+El+MlWTBoBc1qYNlcYP7pR9dBf5S8Z+Z4\n6Lz1her6vpEuayjDEcmDPARDqVBDyfOqF/Eh8H80pxinjSJoktuTC/ZvlbLc\n+6yrpwZWTEyNbcLYbONUD7dgGRAVMr/x+pxuHMhGw7IICa+GN1McGwKb7GDE\nIvFKlJ7fK7rn/xTGf8PFoW6emg/OlP3B0rm1OP106zTd4x9cw4yrcfBRWB5l\n95Dh\r\n=4LJt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBEUniXNrkPIl17wZ1iVFWPBM6/CU7ayLkmSzLpboop+AiAE1UcyuF+452LnT/Qv+1xzl+DA+cfTtBCnFWsEvOiLfg=="}]},"maintainers":[{"name":"vjsrinath","email":"vjsrinath@live.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quill-image-resize-module_3.0.1_1524389949420_0.6236467307313935"},"_hasShrinkwrap":true},"3.0.2":{"name":"@appsflare/quill-image-resize-module","version":"3.0.2","description":"A module for Quill rich text editor to allow images to be resized.","main":"image-resize.min.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","release":"webpack -p --progress --colors","dev":"webpack --progress --colors --watch","lint":"eslint --ext js,es6 src","fixlint":"eslint --fix --ext js,es6 src"},"repository":{"type":"git","url":"git+https://github.com/appsflare/quill-image-resize-module.git"},"keywords":["quill","quilljs","image","resize","sizer"],"author":{"name":"@kensnyder"},"contributors":[{"name":"Wikia","url":"https://github.com/Wikia"},{"name":"Srinath","url":"https://github.com/vjsrinath"}],"license":"MIT","bugs":{"url":"https://github.com/appsflare/quill-image-resize-module/issues"},"homepage":"https://github.com/appsflare/quill-image-resize-module#readme","devDependencies":{"babel-cli":"^6.24.0","babel-eslint":"^7.2.1","babel-loader":"^6.4.1","babel-plugin-transform-class-properties":"^6.23.0","babel-preset-env":"^1.2.2","babel-preset-es2015":"^6.24.0","eslint":"^3.19.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0","eslint-plugin-react":"^6.10.3","webpack":"^2.3.3"},"dependencies":{"lodash":"^4.17.4","quill":"^1.2.2","raw-loader":"^0.5.1"},"gitHead":"3411c9a710d48f7017016001ca8407467f1202cd","_id":"@appsflare/quill-image-resize-module@3.0.2","_npmVersion":"5.8.0","_nodeVersion":"8.10.0","_npmUser":{"name":"vjsrinath","email":"vjsrinath@live.com"},"dist":{"integrity":"sha512-59u9AvvBEyXJqEtJXUI5ZW6sTl36kChorTGD6qKHSSudVw4Q3WzK1nYg1JCspcK5lQavVV4vNNC0LNPx2enCAw==","shasum":"528d23aa1e06ed9d367825d33206531ce2e1ac83","tarball":"https://registry.npmjs.org/@appsflare/quill-image-resize-module/-/quill-image-resize-module-3.0.2.tgz","fileCount":16,"unpackedSize":251527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3TAtCRA9TVsSAnZWagAAavoQAIC2lajXSuKDP9rNXPNX\nR1hSZhuK0OlDA5zPFCeg8vQpReo0RtWjq3ZZqQOZPJHCnn8nkez02Gk31jeU\nosJeSB28G8qmx/GrRDuuuq6dKSwGedWEuE05IVUMarpa1syzvFuO5pF08K3k\npPHcSrWjYKlo4A2Ngm2K/8NgGaaQYIMMfulABc4HDvzdgmj2MxFIewwcJkFg\n4E+KNpHHaKF88bzEIFKy7e+O9ea37WYQUo97BWmVlHeK6sWBX9icc63dPUem\neOLrR0Su6DCVBI7VP66cXsx5Vazkh+NaIWWrTdjw/7cELzDjO5sujlW1CEn0\nZPrnjk41qnJ5THH736mDlJlP+4fnWVQFVe0CYRY9hyDaudU4DJNsxLSRH8Pm\nYDyqelkzt9xkMkSmqj03X3u6N0Clyr6lz3tQOHtmu+F5dWczeiF0N6R4/PIG\n+eFs2yoVYd9hTTfpmhnkn7vNXQIiZ9irujc1k7/fTtNM2WEBtAXh3gazfd1a\nsNDRQhYhquSHIkoGhGLk1Qp9XSKB9lLifRZiJDnbke310w8tYBQZ0Hs8ERrO\nD6FrVv05450tCNeEJql08tgpJn6NuSMHGjWixSP69JrlEtK2nhxlKkacO5Ly\ne4IAJaHBVKcC7BRQHjx7TLHJlzBUjdiFHWQLgejA6i9dFXrdtB1WO6v+EHCV\n7jQ+\r\n=luHU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEok8BP/0vXP/0UCxy9WDLKfEa6VSnsNTKJyi+FoFEFgAiEAqH6GW9zP9PBtLVchwie4k9d/iu2GHwE9lmo+XXKYB6A="}]},"maintainers":[{"name":"vjsrinath","email":"vjsrinath@live.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quill-image-resize-module_3.0.2_1524445228211_0.3418920476010041"},"_hasShrinkwrap":true},"3.0.3":{"name":"@appsflare/quill-image-resize-module","version":"3.0.3","description":"A module for Quill rich text editor to allow images to be resized.","main":"image-resize.min.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","release":"webpack -p --progress --colors","dev":"webpack --progress --colors --watch","lint":"eslint --ext js,es6 src","fixlint":"eslint --fix --ext js,es6 src"},"repository":{"type":"git","url":"git+https://github.com/appsflare/quill-image-resize-module.git"},"keywords":["quill","quilljs","image","resize","sizer"],"author":{"name":"@kensnyder"},"contributors":[{"name":"Wikia","url":"https://github.com/Wikia"},{"name":"Srinath","url":"https://github.com/vjsrinath"}],"license":"MIT","bugs":{"url":"https://github.com/appsflare/quill-image-resize-module/issues"},"homepage":"https://github.com/appsflare/quill-image-resize-module#readme","devDependencies":{"babel-cli":"^6.24.0","babel-eslint":"^7.2.1","babel-loader":"^6.4.1","babel-plugin-transform-class-properties":"^6.23.0","babel-preset-env":"^1.2.2","babel-preset-es2015":"^6.24.0","eslint":"^3.19.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0","eslint-plugin-react":"^6.10.3","webpack":"^2.3.3"},"dependencies":{"lodash":"^4.17.4","quill":"^1.2.2","raw-loader":"^0.5.1"},"gitHead":"4d2785b56e7b55508040d1ebee583dc99b87f986","_id":"@appsflare/quill-image-resize-module@3.0.3","_npmVersion":"5.8.0","_nodeVersion":"8.10.0","_npmUser":{"name":"vjsrinath","email":"vjsrinath@live.com"},"dist":{"integrity":"sha512-TxjPnFqLV6gLMLV1v27osD6xWZ5H8xrv9sQDJG2HILzFHr+HZmmks0H18wzAfkuN7WqBaQLJYDfeVKjl0/eFLQ==","shasum":"663b8740791c8e2eae255ce678ef848a92887bbb","tarball":"https://registry.npmjs.org/@appsflare/quill-image-resize-module/-/quill-image-resize-module-3.0.3.tgz","fileCount":16,"unpackedSize":251527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3rVRCRA9TVsSAnZWagAAyMIP/iTyrHDbhiZ0jusJvQQc\n1Y6PDDKtZtev0xq/aD7lgRO+PiodXo5UKtP1t3g4dDYa6ORxkY+iom+AZUJS\nhwQsucfXyz3bAOwaAr/U+URXfBJDFgRn3ye9bHCSFbLlHCCip7gQO/R7y/+U\nEFatylH2rqeHmlYRBLKX9hbMZ7pnT4NQqlXch1dpr7rO7yAIYFowtm4u8m/z\n7PuPHTkTmozSnS5m8VRdPRD9kaPX+ke1sVZyydiodbeV5y+9igcv9zhS5xSr\n1RyXJYUQKeRSjVfpZW5dj4GLsjeDUVTzKgoqnN+hxaoDvaCD7jJp9drj47LI\n+7Iyv5BkoScFXgS2Un2nwN+oVztr5NYAdc+FxyMiqunUPiWs5qcC4CyKakCN\nyev/T1Y0a9dx0JeYJ2Aiqg7axWkfyGfTypYXO/1pEvC11mq/PQfmJwsipkPO\nDYaKGI9DYYJHFewcRSBjjvI2s7FlMHNXqcwYQAN3n4QJccgU9Wde2d3nO9Ck\ndpjAWtpIQ2/EciXSs2fpSyYExfWrolt4itpplmOV6MTc8neHqDj7TdbIF5Uw\n7UiDyNA7aFkNZxO+7M/B2UE2aqqbTIUANxSS1HKBMH26Mrys+LnFP0Jp157p\nS1AjRaia7CXzDzt4/HKJx5nHNPcFL6bljH1uxD5SNGzlZVnfQQ8LQmQZz/0w\nfK7k\r\n=QT/L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkJB6cBsiiR04t/Mv1Ze0/QF/e9CFPxf/P2zFJFi49eQIgO4ZIlHGx1+e7ulJKUgG3lirGcuwwYFBvUtQQi2oJmx4="}]},"maintainers":[{"name":"vjsrinath","email":"vjsrinath@live.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quill-image-resize-module_3.0.3_1524544848337_0.1761215755206793"},"_hasShrinkwrap":true}},"time":{"created":"2018-04-22T09:28:27.541Z","3.0.0":"2018-04-22T09:28:27.686Z","modified":"2022-04-04T15:04:40.923Z","3.0.1":"2018-04-22T09:39:09.526Z","3.0.2":"2018-04-23T01:00:28.339Z","3.0.3":"2018-04-24T04:40:48.532Z"},"maintainers":[{"name":"vjsrinath","email":"vjsrinath@live.com"}],"description":"A module for Quill rich text editor to allow images to be resized.","homepage":"https://github.com/appsflare/quill-image-resize-module#readme","keywords":["quill","quilljs","image","resize","sizer"],"repository":{"type":"git","url":"git+https://github.com/appsflare/quill-image-resize-module.git"},"contributors":[{"name":"Wikia","url":"https://github.com/Wikia"},{"name":"Srinath","url":"https://github.com/vjsrinath"}],"author":{"name":"@kensnyder"},"bugs":{"url":"https://github.com/appsflare/quill-image-resize-module/issues"},"license":"MIT","readme":"# Quill ImageResize Module\r\n\r\nA module for Quill rich text editor to allow images to be resized.\r\n\r\nAlso see [quill-image-drop-module](https://github.com/kensnyder/quill-image-drop-module),\r\na module that enables copy-paste and drag/drop for Quill.\r\n\r\n## Demo\r\n\r\n[Plunker](https://plnkr.co/edit/gq708AOrSBOWSlHcFslG?p=preview)\r\n\r\n## Usage\r\n\r\n### Webpack/ES6\r\n\r\n```javascript\r\nimport Quill from 'quill';\r\nimport { ImageResize } from 'quill-image-resize-module';\r\n\r\nQuill.register('modules/imageResize', ImageResize);\r\n\r\nconst quill = new Quill(editor, {\r\n    // ...\r\n    modules: {\r\n        // ...\r\n        imageResize: {\r\n            // See optional \"config\" below\r\n        }\r\n    }\r\n});\r\n```\r\n\r\n### Script Tag\r\n\r\nCopy image-resize.min.js into your web root or include from node_modules\r\n\r\n```html\r\n<script src=\"/node_modules/quill-image-resize-module/image-resize.min.js\"></script>\r\n```\r\n\r\n```javascript\r\nvar quill = new Quill(editor, {\r\n    // ...\r\n    modules: {\r\n        // ...\r\n        ImageResize: {\r\n            // See optional \"config\" below\r\n        }\r\n    }\r\n});\r\n```\r\n\r\n### Config\r\n\r\nFor the default experience, pass an empty object, like so:\r\n```javascript\r\nvar quill = new Quill(editor, {\r\n    // ...\r\n    modules: {\r\n        // ...\r\n        ImageResize: {}\r\n    }\r\n});\r\n```\r\n\r\nFunctionality is broken down into modules, which can be mixed and matched as you like. For example,\r\nthe default is to include all modules:\r\n\r\n```javascript\r\nconst quill = new Quill(editor, {\r\n    // ...\r\n    modules: {\r\n        // ...\r\n        ImageResize: {\r\n            modules: [ 'Resize', 'DisplaySize', 'Toolbar' ]\r\n        }\r\n    }\r\n});\r\n```\r\n\r\nEach module is described below.\r\n\r\n#### `Resize` - Resize the image\r\n\r\nAdds handles to the image's corners which can be dragged with the mouse to resize the image.\r\n\r\nThe look and feel can be controlled with options:\r\n\r\n```javascript\r\nvar quill = new Quill(editor, {\r\n    // ...\r\n    modules: {\r\n        // ...\r\n        ImageResize: {\r\n            // ...\r\n            handleStyles: {\r\n                backgroundColor: 'black',\r\n                border: 'none',\r\n                color: white\r\n                // other camelCase styles for size display\r\n            }\r\n        }\r\n    }\r\n});\r\n```\r\n\r\n#### `DisplaySize` - Display pixel size\r\n\r\nShows the size of the image in pixels near the bottom right of the image.\r\n\r\nThe look and feel can be controlled with options:\r\n\r\n```javascript\r\nvar quill = new Quill(editor, {\r\n    // ...\r\n    modules: {\r\n        // ...\r\n        ImageResize: {\r\n            // ...\r\n            displayStyles: {\r\n                backgroundColor: 'black',\r\n                border: 'none',\r\n                color: white\r\n                // other camelCase styles for size display\r\n            }\r\n        }\r\n    }\r\n});\r\n```\r\n\r\n#### `Toolbar` - Image alignment tools\r\n\r\nDisplays a toolbar below the image, where the user can select an alignment for the image.\r\n\r\nThe look and feel can be controlled with options:\r\n\r\n```javascript\r\nvar quill = new Quill(editor, {\r\n    // ...\r\n    modules: {\r\n        // ...\r\n        ImageResize: {\r\n            // ...\r\n            toolbarStyles: {\r\n                backgroundColor: 'black',\r\n                border: 'none',\r\n                color: white\r\n                // other camelCase styles for size display\r\n            },\r\n            toolbarButtonStyles: {\r\n                // ...\r\n            },\r\n            toolbarButtonSvgStyles: {\r\n                // ...\r\n            },\r\n        }\r\n    }\r\n});\r\n```\r\n\r\n#### `BaseModule` - Include your own custom module\r\n\r\nYou can write your own module by extending the `BaseModule` class, and then including it in\r\nthe module setup.\r\n\r\nFor example,\r\n\r\n```javascript\r\nimport { Resize, BaseModule } from 'quill-image-resize-module';\r\n\r\nclass MyModule extends BaseModule {\r\n    // See src/modules/BaseModule.js for documentation on the various lifecycle callbacks\r\n}\r\n\r\nvar quill = new Quill(editor, {\r\n    // ...\r\n    modules: {\r\n        // ...\r\n        ImageResize: {\r\n            modules: [ MyModule, Resize ],\r\n            // ...\r\n        }\r\n    }\r\n});\r\n```\r\n","readmeFilename":"README.md"}