{"_id":"@dstepas/vue-wysiwyg","_rev":"1-72cfd2132ea08a5a7d299a8ce920c5b7","name":"@dstepas/vue-wysiwyg","dist-tags":{"latest":"1.7.7"},"versions":{"1.7.6":{"name":"@dstepas/vue-wysiwyg","version":"1.7.6","keywords":["vue","vue2","wysiwyg","html","editor","localization"],"author":{"name":"Gregory","email":"gregory.mkv@gmail.com"},"license":"MIT","_id":"@dstepas/vue-wysiwyg@1.7.6","maintainers":[{"name":"dstepas","email":"dstepas@justcoded.com"}],"homepage":"https://github.com/dstepas/vue-wysiwyg#readme","bugs":{"url":"https://github.com/dstepas/vue-wysiwyg/issues"},"dist":{"shasum":"77675410007cd52188f8e7498fcd86882d0c6d4a","tarball":"https://registry.npmjs.org/@dstepas/vue-wysiwyg/-/vue-wysiwyg-1.7.6.tgz","fileCount":5,"integrity":"sha512-4/yL5gdRrc28Q7p2dWlWoXCmOjpO07bM1jKK6ufsmU9RXw7mcd3gb9tElLZUJWrbVPia6gnptnFx3YnAaf3jzw==","signatures":[{"sig":"MEQCIBp6ZNYjObi0Hhhc7ySRLUe8/cZfl1rJi3DktZ/55MTwAiALS3mmNaYa/fM5QiMhJmeWDYXseLb+E9PDxfX+RqG7vQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93938},"main":"dist/vueWysiwyg.js","style":"dist/vueWysiwyg.css","engines":{"npm":">= 3.0.0","node":">= 4.0.0"},"gitHead":"c88755fb463444479461762c0d2b23e3b4d06487","private":false,"scripts":{"dev":"node build/dev-server.js","build":"npm run build:prod","build:demo":"BABEL_ENV=production BUILD=demo DIR=demo node build/build.js","build:prod":"rm -rf dist/* && BABEL_ENV=production BUILD=prod node build/build.js"},"_npmUser":{"name":"dstepas","email":"dstepas@justcoded.com"},"repository":{"url":"git+https://github.com/dstepas/vue-wysiwyg.git"},"_npmVersion":"6.14.18","description":"A WYSIWYG HTML editor for Vue.js","directories":{},"_nodeVersion":"11.15.0","dependencies":{"vue":"^2.5.13","debounce":"^1.1.0","vue2-dropzone":"^3.0.4"},"_hasShrinkwrap":false,"devDependencies":{"opn":"^5.2.0","ora":"^1.4.0","pug":"^2.0.0-rc.4","chalk":"^2.3.1","semver":"^5.5.0","stylus":"^0.54.5","express":"^4.16.2","shelljs":"^0.8.1","webpack":"^3.11.0","babel-core":"^6.26.0","css-loader":"^0.28.9","url-loader":"^0.6.2","vue-loader":"^14.1.1","file-loader":"^1.1.6","autoprefixer":"^8.0.0","babel-loader":"^7.1.2","function-bind":"^1.1.1","stylus-loader":"^3.0.1","webpack-merge":"^4.1.1","babel-register":"^6.26.0","vue-style-loader":"^4.0.2","babel-preset-babili":"^0.1.4","babel-preset-es2015":"^6.24.1","html-webpack-plugin":"^2.30.1","babel-preset-stage-2":"^6.24.1","eventsource-polyfill":"^0.9.6","http-proxy-middleware":"^0.17.4","vue-template-compiler":"^2.5.13","webpack-dev-middleware":"^2.0.5","webpack-hot-middleware":"^2.21.0","uglifyjs-webpack-plugin":"^1.2.0","webpack-bundle-analyzer":"^2.10.0","extract-text-webpack-plugin":"^3.0.2","connect-history-api-fallback":"^1.5.0","babel-plugin-transform-runtime":"^6.23.0","friendly-errors-webpack-plugin":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/vue-wysiwyg_1.7.6_1725625600944_0.6604344963817055","host":"s3://npm-registry-packages"}},"1.7.7":{"name":"@dstepas/vue-wysiwyg","version":"1.7.7","repository":{"url":"git+https://github.com/dstepas/vue-wysiwyg.git"},"description":"A WYSIWYG HTML editor for Vue.js","keywords":["vue","vue2","wysiwyg","html","editor","localization"],"private":false,"author":{"name":"Gregory","email":"gregory.mkv@gmail.com"},"license":"MIT","main":"dist/vueWysiwyg.js","style":"dist/vueWysiwyg.css","scripts":{"dev":"node build/dev-server.js","build":"npm run build:prod","build:demo":"BABEL_ENV=production BUILD=demo DIR=demo node build/build.js","build:prod":"rm -rf dist/* && BABEL_ENV=production BUILD=prod node build/build.js"},"dependencies":{"debounce":"^1.1.0","vue":"^2.5.13","vue2-dropzone":"^3.0.4"},"devDependencies":{"autoprefixer":"^8.0.0","babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-runtime":"^6.23.0","babel-preset-babili":"^0.1.4","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1","babel-register":"^6.26.0","chalk":"^2.3.1","connect-history-api-fallback":"^1.5.0","css-loader":"^0.28.9","eventsource-polyfill":"^0.9.6","express":"^4.16.2","extract-text-webpack-plugin":"^3.0.2","file-loader":"^1.1.6","friendly-errors-webpack-plugin":"^1.6.1","function-bind":"^1.1.1","html-webpack-plugin":"^2.30.1","http-proxy-middleware":"^0.17.4","opn":"^5.2.0","ora":"^1.4.0","pug":"^2.0.0-rc.4","semver":"^5.5.0","shelljs":"^0.8.1","stylus":"^0.54.5","stylus-loader":"^3.0.1","uglifyjs-webpack-plugin":"^1.2.0","url-loader":"^0.6.2","vue-loader":"^14.1.1","vue-style-loader":"^4.0.2","vue-template-compiler":"^2.5.13","webpack":"^3.11.0","webpack-bundle-analyzer":"^2.10.0","webpack-dev-middleware":"^2.0.5","webpack-hot-middleware":"^2.21.0","webpack-merge":"^4.1.1"},"engines":{"node":">= 4.0.0","npm":">= 3.0.0"},"gitHead":"c88755fb463444479461762c0d2b23e3b4d06487","bugs":{"url":"https://github.com/dstepas/vue-wysiwyg/issues"},"homepage":"https://github.com/dstepas/vue-wysiwyg#readme","_id":"@dstepas/vue-wysiwyg@1.7.7","_nodeVersion":"11.15.0","_npmVersion":"6.14.18","dist":{"integrity":"sha512-ve1EqjweyKjgqz6smy8MRO5YCag6falh9iWejcc8EVGVcBisyfOnjw5IEqm16gkaTOBIqS/3+M/7xXQAhRBTRg==","shasum":"9b3eec1736b853b63669f75062f7cf021b6ac52d","tarball":"https://registry.npmjs.org/@dstepas/vue-wysiwyg/-/vue-wysiwyg-1.7.7.tgz","fileCount":5,"unpackedSize":91116,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs60oxfOm/WPUmZ1H+mnwqYL/Kl/LpJqPIWsIPwqR/rgIhAPi0ILCL2TQ063V39VvZRUzcL51g1JKdArhE175k6ryE"}]},"_npmUser":{"name":"dstepas","email":"dstepas@justcoded.com"},"directories":{},"maintainers":[{"name":"dstepas","email":"dstepas@justcoded.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-wysiwyg_1.7.7_1725626880293_0.42662172366858453"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-06T12:26:40.862Z","modified":"2024-09-06T12:48:00.695Z","1.7.6":"2024-09-06T12:26:41.090Z","1.7.7":"2024-09-06T12:48:00.507Z"},"bugs":{"url":"https://github.com/dstepas/vue-wysiwyg/issues"},"author":{"name":"Gregory","email":"gregory.mkv@gmail.com"},"license":"MIT","homepage":"https://github.com/dstepas/vue-wysiwyg#readme","keywords":["vue","vue2","wysiwyg","html","editor","localization"],"repository":{"url":"git+https://github.com/dstepas/vue-wysiwyg.git"},"description":"A WYSIWYG HTML editor for Vue.js","maintainers":[{"name":"dstepas","email":"dstepas@justcoded.com"}],"readme":"[![](https://user-images.githubusercontent.com/11352152/30252159-1bbb9cfe-963b-11e7-966c-b44116c74a86.png)](https://chmln.github.io/vue-wysiwyg/)\n\n\n## Usage\n\n\n### Install vue-wysiwyg\n\n``` bash\nnpm install vue-wysiwyg --save\n```\nOR\n\n``` bash\nyarn add vue-wysiwyg\n```\n\nIn your `main.js`:\n\n```js\nimport wysiwyg from \"vue-wysiwyg\";\nVue.use(wysiwyg, {}); // config is optional. more below\n```\n\nAlso make sure to load the stylesheet.\nThe exact syntax will depend on what preprocessor you use.\n\n```css\n@import \"~vue-wysiwyg/dist/vueWysiwyg.css\";\n```\n\nIn your components:\n```html\n<wysiwyg v-model=\"myHTML\" />\n```\n\n## Config options\n\nAll keys are optional.\n\n```js\n{\n  // { [module]: boolean (set true to hide) }\n  hideModules: { \"bold\": true },\n\n  // you can override icons too, if desired\n  // just keep in mind that you may need custom styles in your application to get everything to align\n  iconOverrides: { \"bold\": \"<i class='your-custom-icon'></i>\" },\n\n  // if the image option is not set, images are inserted as base64\n  image: {\n    uploadURL: \"/api/myEndpoint\",\n    dropzoneOptions: {}\n  },\n\n  // limit content height if you wish. If not set, editor size will grow with content.\n  maxHeight: \"500px\",\n\n  // set to 'true' this will insert plain text without styling when you paste something into the editor.\n  forcePlainTextOnPaste: true,\n\n  // specify editor locale, if you don't specify this, the editor will default to english.\n  locale: 'hu'\n}\n```\nAvailable Modules:\n - bold\n - italic\n - underline\n - justifyLeft\n - justifyCenter\n - justifyRight\n - headings\n - link\n - code\n - orderedList\n - unorderedList\n - image\n - table\n - removeFormat\n - separator\n\nAvailable Locales:\n - english (default)\n - hungarian\n - dutch\n - german\n\nNote on the image upload API endpoint:\n- Image is uploaded by `multipart/form-data`\n- Your endpoint must respond back with a string, the URL for the image - e.g. `http://myapp.com/images/12345.jpg`\n","readmeFilename":"README.md"}