{"_id":"@alsandre/element-editor","_rev":"10-6de360fbe1a631cd504e2de2a5b66af0","name":"@alsandre/element-editor","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"@alsandre/element-editor","version":"1.0.0","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","_id":"@alsandre/element-editor@1.0.0","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"homepage":"https://github.com/Alsandre/element-editor#readme","bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"dist":{"shasum":"68126f6a2ee5f3973989bfb91cd51d4194df2eca","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.0.tgz","fileCount":9,"integrity":"sha512-UCP3C3bsc561NmOVuE+DWFIOoqOyFzEUKnxQaHtTQA02nD2TcXRT0lv0X61s6GlD+LVfLzjtfG/RTtbH67EO9Q==","signatures":[{"sig":"MEUCIQDRXq7YOSgQZzKbBHn4z8LKAHJ+EAeHkCUSjtWmZ3ePNQIgRaub85s+TOgACd42KUx0SxJyYQ+00nNslhhlzMoaNJ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46241},"main":"index.js","browser":"dist/element-editor.min.js","gitHead":"86ff5cc0e63c973379732659b36a605b67841e29","scripts":{"dev":"webpack --mode development","build":"webpack --mode production","prepare":"npm run build"},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"repository":{"url":"git+https://github.com/Alsandre/element-editor.git","type":"git"},"_npmVersion":"9.6.3","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","directories":{},"_nodeVersion":"19.9.0","_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.88.0","webpack-cli":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/element-editor_1.0.0_1752672916059_0.7417823190159656","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@alsandre/element-editor","version":"1.0.1","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","_id":"@alsandre/element-editor@1.0.1","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"homepage":"https://github.com/Alsandre/element-editor#readme","bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"dist":{"shasum":"140a2bce4ef7dbddb051154706b960e3f579b1fb","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.1.tgz","fileCount":9,"integrity":"sha512-uD/rHpQdcXt4FPxzU1uANvCnwyxzKhzk03LmMdoRSoFXWnSr4L8XbSq93MkTSbS3ytWUDl5FO3gfsVoMPYmMDA==","signatures":[{"sig":"MEUCIHVD/c+NwwHwXKRxORCVRAeByjvao4RLiXj3PReghTg4AiEA2EIrw4V7BTOKUJrrCjOEiLSGUKKkqMSCsGKa9VDMK5k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50085},"main":"index.js","browser":"dist/element-editor.min.js","gitHead":"99a132436874ee908a37d7e9cbd5815e64bc2699","scripts":{"dev":"webpack --mode development","docs":"jsdoc -d docs bannerEditor.js plugins/*.js index.js","build":"webpack --mode production","prepare":"npm run build"},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"repository":{"url":"git+https://github.com/Alsandre/element-editor.git","type":"git"},"_npmVersion":"9.6.3","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","directories":{},"_nodeVersion":"19.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.4","webpack":"^5.88.0","webpack-cli":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/element-editor_1.0.1_1753612989763_0.30000590678637584","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@alsandre/element-editor","version":"1.0.2","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","_id":"@alsandre/element-editor@1.0.2","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"homepage":"https://github.com/Alsandre/element-editor#readme","bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"dist":{"shasum":"3f61875cc49d6bb6fc645a186f11f96416cb6791","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.2.tgz","fileCount":9,"integrity":"sha512-NjRZFd94QhqiLBuaJQo3/JlKaeFg4fo+7JPkRig/j1f97BwB+J3pG3w3W1xy4O5qSL40JQ/ToCLQtV/XB7oZ8A==","signatures":[{"sig":"MEUCIQCKdWWWZfdMnZ0yP6gi3lvCWWlUwtHjCcpJ33dCVzwAugIgKL7sVPNhI6M8kY3lqGMhN4YdUupmbMnmzqinbGeB3ZU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50414},"main":"index.js","browser":"dist/element-editor.min.js","gitHead":"8f4a2abfbe61b192c288fd7228e2cef27cb2205d","scripts":{"dev":"webpack --mode development","docs":"jsdoc -d docs bannerEditor.js plugins/*.js index.js","build":"webpack --mode production","prepare":"npm run build"},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"repository":{"url":"git+https://github.com/Alsandre/element-editor.git","type":"git"},"_npmVersion":"9.6.3","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","directories":{},"_nodeVersion":"19.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.4","webpack":"^5.88.0","webpack-cli":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/element-editor_1.0.2_1753614417023_0.18874140760676417","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@alsandre/element-editor","version":"1.0.3","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","_id":"@alsandre/element-editor@1.0.3","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"homepage":"https://github.com/Alsandre/element-editor#readme","bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"dist":{"shasum":"c57f01cdeaa80548de022d2e8edc5ba0c167e971","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.3.tgz","fileCount":9,"integrity":"sha512-4jtAH5jF0+pLSm7dJWukVba859n68Wbj43jnqzQ4izowyaxDkDb1J8uZXiVXfaGajh4f/FgZ8iNhfZ8OeXEySw==","signatures":[{"sig":"MEUCIQDCxp0xMzd/VbTEUjWRtVTu5TYZvb/8FNPJVnxjUhrhpwIgG6fQZMMvvO3ObUjwHkied77FeZblPE131LZUsw5zaRk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59008},"main":"index.js","browser":"dist/element-editor.min.js","gitHead":"5069573f8ac0a4d225bc3a75d30daa9fc7523234","scripts":{"dev":"webpack --mode development","docs":"jsdoc -d docs bannerEditor.js plugins/*.js index.js","build":"webpack --mode production","watch":"webpack --mode development --watch","prepare":"npm run build"},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"repository":{"url":"git+https://github.com/Alsandre/element-editor.git","type":"git"},"_npmVersion":"9.6.3","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","directories":{},"_nodeVersion":"19.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.4","webpack":"^5.88.0","webpack-cli":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/element-editor_1.0.3_1753631163219_0.44493277711352475","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@alsandre/element-editor","version":"1.0.4","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","_id":"@alsandre/element-editor@1.0.4","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"homepage":"https://github.com/Alsandre/element-editor#readme","bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"dist":{"shasum":"71946cf1d01abe1376d4939788451314c6d4465c","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.4.tgz","fileCount":9,"integrity":"sha512-43ApvbW7F1WMDZgZo7Pncy6GkSx9nWhLvkezn4qcPgEPcoeRID5+rolX6SBm9csbqm4dvfUfODTOHXiTkVFKXA==","signatures":[{"sig":"MEYCIQC5Erfw3u7WDehS7LWXTOQ5K+Jr4ZdQDk3Hh9PIZDzUpAIhAPwSKmM/iCPkQlKpRltWHjhWqVpm1Fg8e0vpZMw9dBtZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59398},"main":"index.js","browser":"dist/element-editor.min.js","gitHead":"5e3036f172e918df3f3849eefff31315be627624","scripts":{"dev":"webpack --mode development","docs":"jsdoc -d docs bannerEditor.js plugins/*.js index.js","build":"webpack --mode production","watch":"webpack --mode development --watch","prepare":"npm run build"},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"repository":{"url":"git+https://github.com/Alsandre/element-editor.git","type":"git"},"_npmVersion":"9.6.3","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","directories":{},"_nodeVersion":"19.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.4","webpack":"^5.88.0","webpack-cli":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/element-editor_1.0.4_1753631807228_0.0013148870270152102","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@alsandre/element-editor","version":"1.0.5","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","_id":"@alsandre/element-editor@1.0.5","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"homepage":"https://github.com/Alsandre/element-editor#readme","bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"dist":{"shasum":"267a85b53bb43e8279986440454495b9ca849958","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.5.tgz","fileCount":9,"integrity":"sha512-LA9qTkcpb5jo5awW3SLaT1rb/jVAbfSKBJcfiyY/MXAdgXSWlDKlf+UMQl2DKpY/vue9Y8jLnIZYXoDd1DlBYg==","signatures":[{"sig":"MEUCICj28sJbCecEpwZzrR/S77RKingZ/dBpYcaxqnkZ4GTZAiEA5oHuYoyR2vHSiudETo6fT6ELwG1EyEO/tZeT8olvJNw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60130},"main":"index.js","browser":"dist/element-editor.min.js","gitHead":"ace09b747cfbaa2b6247d07a6d9d6c805ee5af94","scripts":{"dev":"webpack --mode development","docs":"jsdoc -d docs bannerEditor.js plugins/*.js index.js","build":"webpack --mode production","watch":"webpack --mode development --watch","prepare":"npm run build"},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"repository":{"url":"git+https://github.com/Alsandre/element-editor.git","type":"git"},"_npmVersion":"9.6.3","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","directories":{},"_nodeVersion":"19.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.4","webpack":"^5.88.0","webpack-cli":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/element-editor_1.0.5_1753633480062_0.9947906120009478","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@alsandre/element-editor","version":"1.0.6","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","_id":"@alsandre/element-editor@1.0.6","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"homepage":"https://github.com/Alsandre/element-editor#readme","bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"dist":{"shasum":"3a4f3a53e91c78db59968f79de927d55157f9534","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.6.tgz","fileCount":9,"integrity":"sha512-wLvEuS1rHfKNhZ4WCNX3JKNn5ydffuV9geoyPBnFGblNuwWFgn4RPex+wStoOei9pDPRpoXId8mf7TFEjVUU3w==","signatures":[{"sig":"MEYCIQDKVIQAl5z7KYiU0KoiW3EPEk5n6TSjG1pwshBdGO9j6QIhAP907I6LtFapBMB4qxbrc31Gt/RAAGYMm/uLd5zAeSs1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60318},"main":"index.js","browser":"dist/element-editor.min.js","gitHead":"3cff6d2da588ddc9ba0651f6240fe8b15da0d259","scripts":{"dev":"webpack --mode development","docs":"jsdoc -d docs bannerEditor.js plugins/*.js index.js","build":"webpack --mode production","watch":"webpack --mode development --watch","prepare":"npm run build"},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"repository":{"url":"git+https://github.com/Alsandre/element-editor.git","type":"git"},"_npmVersion":"9.6.3","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","directories":{},"_nodeVersion":"19.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.4","webpack":"^5.88.0","webpack-cli":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/element-editor_1.0.6_1753646371827_0.7290841517156803","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@alsandre/element-editor","version":"1.0.7","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","_id":"@alsandre/element-editor@1.0.7","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"homepage":"https://github.com/Alsandre/element-editor#readme","bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"dist":{"shasum":"b4f91e989fde5ca6e55168e94941b54ebc36f80d","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.7.tgz","fileCount":9,"integrity":"sha512-NngCVretRCqRUfdXHFJo3x0w3Zjf4bXtQ/CfIbqtV74fV0VLmPjxlxrrJN6fuEvDQsP5DJrOQDTrwQ67A365PQ==","signatures":[{"sig":"MEUCIGhpdXtMbTtDSoQujzZddx1FxKAngMd3tgb/K5crvTtTAiEAt1jeNG0GpSpJAkL0HwROVLFzMWivlqdIIybMoeV2VFc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60259},"main":"index.js","browser":"dist/element-editor.min.js","gitHead":"bea23dca33694f90b97b8251666dee9e7704c248","scripts":{"dev":"webpack --mode development","docs":"jsdoc -d docs bannerEditor.js plugins/*.js index.js","build":"webpack --mode production","watch":"webpack --mode development --watch","prepare":"npm run build"},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"repository":{"url":"git+https://github.com/Alsandre/element-editor.git","type":"git"},"_npmVersion":"9.6.3","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","directories":{},"_nodeVersion":"19.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.4","webpack":"^5.88.0","webpack-cli":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/element-editor_1.0.7_1753686219144_0.2674591609300929","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@alsandre/element-editor","version":"1.0.8","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","_id":"@alsandre/element-editor@1.0.8","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"homepage":"https://github.com/Alsandre/element-editor#readme","bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"dist":{"shasum":"a2c32003ab719bbf76ffc4c30ac002fe0988cf01","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.8.tgz","fileCount":9,"integrity":"sha512-SoLP3OVJ62d1dBFyOmk3fE543A+MJ5BKV98vAcqr8rF11a+MvbYaamLXEI/LNecWg3EMGZp6K0Y20Ju0pZCbVg==","signatures":[{"sig":"MEQCIHwgVw6iwGCjZtGM41OwEJv1cS0XipAFgNf0HJATjmnzAiBAAYP6MwhHLhM9AICAukSjUrcS70TdfDP2HT/BAF0W1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60310},"main":"index.js","browser":"dist/element-editor.min.js","gitHead":"79306d6882e153e458f9064acbb26c34c9cf75d8","scripts":{"dev":"webpack --mode development","docs":"jsdoc -d docs bannerEditor.js plugins/*.js index.js","build":"webpack --mode production","watch":"webpack --mode development --watch","prepare":"npm run build"},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"repository":{"url":"git+https://github.com/Alsandre/element-editor.git","type":"git"},"_npmVersion":"9.6.3","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","directories":{},"_nodeVersion":"19.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^4.0.4","webpack":"^5.88.0","webpack-cli":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/element-editor_1.0.8_1753686420207_0.2945062813287065","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@alsandre/element-editor","version":"1.0.9","description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","main":"index.js","browser":"dist/element-editor.min.js","scripts":{"build":"webpack --mode production","dev":"webpack --mode development","watch":"webpack --mode development --watch","docs":"jsdoc -d docs bannerEditor.js plugins/*.js index.js","prepare":"npm run build"},"keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"author":{"name":"Alsandre"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Alsandre/element-editor.git"},"bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"homepage":"https://github.com/Alsandre/element-editor#readme","devDependencies":{"jsdoc":"^4.0.4","webpack":"^5.88.0","webpack-cli":"^5.1.0"},"publishConfig":{"access":"public"},"gitHead":"359553b9aee522f0741c4d2c8347b3c1a5c9b9f2","_id":"@alsandre/element-editor@1.0.9","_nodeVersion":"19.9.0","_npmVersion":"9.6.3","dist":{"integrity":"sha512-ytLd0U3w5f9jax30ghl8NtZPdy/UgD4PFEHz/M2yyKjDi4+adREDFdduZ33T32OQsKK5hiC0NTBTgKlyJxA4mw==","shasum":"61577d0a2b8849f186345f667de4339e503b397d","tarball":"https://registry.npmjs.org/@alsandre/element-editor/-/element-editor-1.0.9.tgz","fileCount":9,"unpackedSize":60963,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCrGWET8U0/9CgtxhKsQMEqBDqMN4/jsrvD7flAJTLgewIhAI5Bxlw75s/oNcKDJg+XlssMN+6zMWz4pTv301pN3f9X"}]},"_npmUser":{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"},"directories":{},"maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/element-editor_1.0.9_1753693806326_0.6151398111512041"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-16T13:35:15.951Z","modified":"2025-07-28T09:10:06.701Z","1.0.0":"2025-07-16T13:35:16.233Z","1.0.1":"2025-07-27T10:43:09.963Z","1.0.2":"2025-07-27T11:06:57.204Z","1.0.3":"2025-07-27T15:46:03.476Z","1.0.4":"2025-07-27T15:56:47.415Z","1.0.5":"2025-07-27T16:24:40.280Z","1.0.6":"2025-07-27T19:59:32.038Z","1.0.7":"2025-07-28T07:03:39.319Z","1.0.8":"2025-07-28T07:07:00.374Z","1.0.9":"2025-07-28T09:10:06.503Z"},"bugs":{"url":"https://github.com/Alsandre/element-editor/issues"},"author":{"name":"Alsandre"},"license":"MIT","homepage":"https://github.com/Alsandre/element-editor#readme","keywords":["element-editor","drag","resize","tooltip","interactive","canvas","banner","editor","plugin","vanilla-js"],"repository":{"type":"git","url":"git+https://github.com/Alsandre/element-editor.git"},"description":"A lightweight, plugin-based element editor for drag, resize, and tooltip interactions","maintainers":[{"name":"alsandre","email":"lekso.imnaishvili@gmail.com"}],"readme":"# Element Editor\n\nA lightweight, plugin-based element editor for drag, resize, and tooltip interactions.\n\n## Installation\n\n### npm\n\n```bash\nnpm install @alsandre/element-editor\n```\n\n### CDN\n\n```html\n<script src=\"https://unpkg.com/@alsandre/element-editor/dist/element-editor.min.js\"></script>\n```\n\n## Quick Start\n\n### npm Usage\n\n```javascript\nimport {BannerEditor, DragPlugin, ResizePlugin, TooltipPlugin} from \"@alsandre/element-editor\";\n\nconst editor = new BannerEditor(element, container).use(DragPlugin).use(ResizePlugin).use(TooltipPlugin);\n\n// Or use the convenience function\nimport {createEditor} from \"@alsandre/element-editor\";\nconst editor = createEditor(element, container);\n```\n\n### CDN Usage\n\n```html\n<script>\n  const editor = new ElementEditor.BannerEditor(element, container).use(ElementEditor.DragPlugin).use(ElementEditor.ResizePlugin).use(ElementEditor.TooltipPlugin);\n</script>\n```\n\n### Events\n\n```javascript\neditor.on(\"dragEnd\", (data) => console.log(\"Position:\", data.x, data.y));\neditor.on(\"resizeActive\", (data) => console.log(\"Size:\", data.width, data.height));\n```\n\n---\n\n# Development Notes\n\n## Development Progress\n\n- ✅ setup html structure for preview and form (VERY SIMPLE)\n- ✅ setup form to preview sync\n- ✅ make preview box draggable\n- ✅ bind form to box\n- ✅ restrict ad box from moving out of preview container\n- ✅ decompose drag event\n- ✅ add resize handler\n- ✅ I decided to use existing drag system for resize, but it does not work as expected.\n- ✅ I need to decompose the drag event and add a resize event.\n- ✅ finetune and update dragcore and apply updates to main script\n- ✅ need to finilize the resize handler\n- ✅ add resizer to the top left corner\n- ✅ add resizer to the right center\n- ✅ add resizer to the remaining points\n- ✅ fix resize jump issue (canvas coordinate system mismatch)\n- ✅ add width and height input to form\n- ✅ sync form and preview\n- ✅ refactor handle types to compass directions (se, nw, e, etc.)\n- ✅ standardize handle positioning logic between static and resize states\n- ✅ convert to plugin architecture (BannerEditor core + DragPlugin, ResizePlugin, TooltipPlugin)\n- ✅ update functions section to use plugin system instead of direct object references\n- ✅ clean up legacy files and streamline script.js functions\n- ✅ package for npm and CDN distribution (element-editor)\n\n## Handle Type Conversion Table\n\nRefactoring handle types from descriptive names to compass directions for cleaner code and direct CSS cursor mapping.\n\n| Current         | New  | CSS Cursor  |\n| --------------- | ---- | ----------- |\n| `bottom-right`  | `se` | `se-resize` |\n| `top-left`      | `nw` | `nw-resize` |\n| `top-right`     | `ne` | `ne-resize` |\n| `bottom-left`   | `sw` | `sw-resize` |\n| `right-center`  | `e`  | `e-resize`  |\n| `left-center`   | `w`  | `w-resize`  |\n| `top-center`    | `n`  | `n-resize`  |\n| `bottom-center` | `s`  | `s-resize`  |\n","readmeFilename":"readme.md"}