{"_id":"@42how/editor-for-react","_rev":"3-ef516838b35d51b562e397c6a6a75568","name":"@42how/editor-for-react","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.6":{"name":"@42how/editor-for-react","version":"1.0.6","description":"wangEditor component for React","author":{"name":"hahaaha","email":"390519764@qq.com"},"contributors":[],"homepage":"https://github.com/wangeditor-team/wangEditor-for-react#readme","license":"MIT","types":"dist/index.d.ts","main":"dist/index.js","module":"dist/index.esm.js","browser":{"./dist/index.js":"./dist/index.js","./dist/index.esm.js":"./dist/index.esm.js"},"publishConfig":{"access":"public"},"keywords":["wangEditor","富文本编辑器","富文本","react"],"repository":{"type":"git","url":"git+git@github.com:42how-dev/wangEditor-for-react.git"},"scripts":{"test":"jest","test-c":"jest --coverage","example":"cross-env NODE_ENV=development:example rollup -c rollup.example.config.js -w","dev":"cross-env NODE_ENV=development rollup -c rollup.config.js","dev-watch":"cross-env NODE_ENV=development rollup -c rollup.config.js -w","build":"cross-env NODE_ENV=production rollup -c rollup.config.js","dev-size-stats":"cross-env NODE_ENV=development:size_stats rollup -c rollup.config.js","size-stats":"cross-env NODE_ENV=production:size_stats rollup -c rollup.config.js","release":"release-it"},"bugs":{"url":"https://github.com/wangeditor-team/wangEditor-for-react/issues"},"peerDependencies":{"@42how/editor":">=5.1.0","@wangeditor/core":">=1.1.0","react":">=17.0.2","react-dom":">=17.0.2"},"devDependencies":{"@babel/core":"^7.16.0","@babel/plugin-transform-runtime":"^7.16.0","@babel/preset-env":"^7.16.0","@babel/preset-react":"^7.16.0","@babel/preset-typescript":"^7.16.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.6","@rollup/plugin-replace":"^3.0.0","@testing-library/jest-dom":"^5.15.0","@testing-library/react":"^12.1.2","@types/jest":"^27.0.3","@types/react":"^17.0.13","@types/react-dom":"^17.0.8","@wangeditor/core":"^1.0.0","autoprefixer":"^10.4.0","babel-jest":"^27.3.1","cross-env":"^7.0.3","jest":"^27.3.1","lodash":"^4.17.21","postcss":"^8.3.11","react":"^17.0.2","react-dom":"^17.0.2","release-it":"^14.11.8","rollup":"^2.59.0","rollup-plugin-cleanup":"^3.2.1","rollup-plugin-copy":"^3.4.0","rollup-plugin-delete":"^2.0.0","rollup-plugin-generate-html-template":"^1.7.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.1","rollup-plugin-serve":"^1.1.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","rollup-plugin-visualizer":"^5.5.2","ts-jest":"^27.0.7","typescript":"^4.4.4"},"dependencies":{"@42how/editor":"5.2.2"},"_id":"@42how/editor-for-react@1.0.6","dist":{"shasum":"e865feacec324c6ae966eaf3c0790a40fd980b75","integrity":"sha512-cOxw4Qq0OrxeyffRvXhAimyIMgKr2W0LqqH/RIp2wEiL8QZZfGaTnDxvfe3Fw34e5xT4jTQK7oXMYoRtNWwwsw==","tarball":"https://registry.npmjs.org/@42how/editor-for-react/-/editor-for-react-1.0.6.tgz","fileCount":13,"unpackedSize":24046,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC03yYtsijmMLBGflDo4PAMdJg9y5o7eYLjUT9ha652hwIhAL5mSNrAqnKKGAC1tc0jqAV7Z4lEuAPPk99P3sXL4qn1"}]},"_npmUser":{"name":"xz87060361","email":"xz87060361@126.com"},"directories":{},"maintainers":[{"name":"xz87060361","email":"xz87060361@126.com"},{"name":"42how_dev","email":"app@42how.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/editor-for-react_1.0.6_1688378270900_0.32897545862517497"},"_hasShrinkwrap":false},"1.0.7":{"name":"@42how/editor-for-react","version":"1.0.7","description":"wangEditor component for React","author":{"name":"hahaaha","email":"390519764@qq.com"},"contributors":[],"homepage":"https://github.com/wangeditor-team/wangEditor-for-react#readme","license":"MIT","types":"dist/index.d.ts","main":"dist/index.js","module":"dist/index.esm.js","browser":{"./dist/index.js":"./dist/index.js","./dist/index.esm.js":"./dist/index.esm.js"},"publishConfig":{"access":"public"},"keywords":["wangEditor","富文本编辑器","富文本","react"],"repository":{"type":"git","url":"git+git@github.com:42how-dev/wangEditor-for-react.git"},"scripts":{"test":"jest","test-c":"jest --coverage","example":"cross-env NODE_ENV=development:example rollup -c rollup.example.config.js -w","dev":"cross-env NODE_ENV=development rollup -c rollup.config.js","dev-watch":"cross-env NODE_ENV=development rollup -c rollup.config.js -w","build":"cross-env NODE_ENV=production rollup -c rollup.config.js","dev-size-stats":"cross-env NODE_ENV=development:size_stats rollup -c rollup.config.js","size-stats":"cross-env NODE_ENV=production:size_stats rollup -c rollup.config.js","release":"release-it"},"bugs":{"url":"https://github.com/wangeditor-team/wangEditor-for-react/issues"},"peerDependencies":{"@42how/editor":">=5.1.0","@wangeditor/core":">=1.1.0","react":">=17.0.2","react-dom":">=17.0.2"},"devDependencies":{"@babel/core":"^7.16.0","@babel/plugin-transform-runtime":"^7.16.0","@babel/preset-env":"^7.16.0","@babel/preset-react":"^7.16.0","@babel/preset-typescript":"^7.16.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.6","@rollup/plugin-replace":"^3.0.0","@testing-library/jest-dom":"^5.15.0","@testing-library/react":"^12.1.2","@types/jest":"^27.0.3","@types/react":"^17.0.13","@types/react-dom":"^17.0.8","@wangeditor/core":"^1.0.0","autoprefixer":"^10.4.0","babel-jest":"^27.3.1","cross-env":"^7.0.3","jest":"^27.3.1","lodash":"^4.17.21","postcss":"^8.3.11","react":"^17.0.2","react-dom":"^17.0.2","release-it":"^14.11.8","rollup":"^2.59.0","rollup-plugin-cleanup":"^3.2.1","rollup-plugin-copy":"^3.4.0","rollup-plugin-delete":"^2.0.0","rollup-plugin-generate-html-template":"^1.7.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.1","rollup-plugin-serve":"^1.1.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","rollup-plugin-visualizer":"^5.5.2","ts-jest":"^27.0.7","typescript":"^4.4.4","@42how/editor":"5.2.2"},"dependencies":{},"_id":"@42how/editor-for-react@1.0.7","dist":{"shasum":"afda4089ba418701e67336fbe981a14c7bb21653","integrity":"sha512-OhdUgqq6llWeMYsHwsJC1PmIIMEsNyMBUExE70zHrzSvM83X36EroCCceXNoXOwPJzOPcioGyvUQKw0tbS0GSw==","tarball":"https://registry.npmjs.org/@42how/editor-for-react/-/editor-for-react-1.0.7.tgz","fileCount":13,"unpackedSize":24049,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhQ8Aj4TtwnbaOMmVxOzk7R0unQTv1YeeUlz8sbP9MKAiBfE6ijhOvAzyPpcbeiIX8CNRLvozCJ6vyMHMKk/d1U6A=="}]},"_npmUser":{"name":"xz87060361","email":"xz87060361@126.com"},"directories":{},"maintainers":[{"name":"xz87060361","email":"xz87060361@126.com"},{"name":"42how_dev","email":"app@42how.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/editor-for-react_1.0.7_1688378396684_0.3475365331934086"},"_hasShrinkwrap":false},"1.0.8":{"name":"@42how/editor-for-react","version":"1.0.8","description":"wangEditor component for React","author":{"name":"hahaaha","email":"390519764@qq.com"},"contributors":[],"homepage":"https://github.com/wangeditor-team/wangEditor-for-react#readme","license":"MIT","types":"dist/index.d.ts","main":"dist/index.js","module":"dist/index.esm.js","browser":{"./dist/index.js":"./dist/index.js","./dist/index.esm.js":"./dist/index.esm.js"},"publishConfig":{"access":"public"},"keywords":["wangEditor","富文本编辑器","富文本","react"],"repository":{"type":"git","url":"git+git@github.com:42how-dev/wangEditor-for-react.git"},"scripts":{"test":"jest","test-c":"jest --coverage","example":"cross-env NODE_ENV=development:example rollup -c rollup.example.config.js -w","dev":"cross-env NODE_ENV=development rollup -c rollup.config.js","dev-watch":"cross-env NODE_ENV=development rollup -c rollup.config.js -w","build":"cross-env NODE_ENV=production rollup -c rollup.config.js","dev-size-stats":"cross-env NODE_ENV=development:size_stats rollup -c rollup.config.js","size-stats":"cross-env NODE_ENV=production:size_stats rollup -c rollup.config.js","release":"release-it"},"bugs":{"url":"https://github.com/wangeditor-team/wangEditor-for-react/issues"},"peerDependencies":{"@42how/editor":">=5.1.0","@wangeditor/core":">=1.1.0","react":">=17.0.2","react-dom":">=17.0.2"},"devDependencies":{"@babel/core":"^7.16.0","@babel/plugin-transform-runtime":"^7.16.0","@babel/preset-env":"^7.16.0","@babel/preset-react":"^7.16.0","@babel/preset-typescript":"^7.16.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.6","@rollup/plugin-replace":"^3.0.0","@testing-library/jest-dom":"^5.15.0","@testing-library/react":"^12.1.2","@types/jest":"^27.0.3","@types/react":"^17.0.13","@types/react-dom":"^17.0.8","@wangeditor/core":"^1.0.0","autoprefixer":"^10.4.0","babel-jest":"^27.3.1","cross-env":"^7.0.3","jest":"^27.3.1","lodash":"^4.17.21","postcss":"^8.3.11","react":"^17.0.2","react-dom":"^17.0.2","release-it":"^14.11.8","rollup":"^2.59.0","rollup-plugin-cleanup":"^3.2.1","rollup-plugin-copy":"^3.4.0","rollup-plugin-delete":"^2.0.0","rollup-plugin-generate-html-template":"^1.7.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.1","rollup-plugin-serve":"^1.1.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","rollup-plugin-visualizer":"^5.5.2","ts-jest":"^27.0.7","typescript":"^4.4.4","@42how/editor":"5.2.2"},"dependencies":{},"_id":"@42how/editor-for-react@1.0.8","dist":{"shasum":"05abf4e4ab85fde836088b1075813d49c146cf41","integrity":"sha512-s6fX9OJtrwFIZk9IDks3fxUdV7H4lm5xv1gsrVdeMgkUstoqfUe9lwG0ZJi8d8G239AH8NjKk1GhP4woj4MXmg==","tarball":"https://registry.npmjs.org/@42how/editor-for-react/-/editor-for-react-1.0.8.tgz","fileCount":13,"unpackedSize":24049,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUIR5V5NfyJh0mDK1GMdu3N5onVsTfRuX6/fAeuUjZCQIgZeiMgNpio7KH2i59Oj71wfMME+5TfarRtWfrsKqSbBM="}]},"_npmUser":{"name":"xz87060361","email":"xz87060361@126.com"},"directories":{},"maintainers":[{"name":"xz87060361","email":"xz87060361@126.com"},{"name":"42how_dev","email":"app@42how.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/editor-for-react_1.0.8_1688378471817_0.49762704101972566"},"_hasShrinkwrap":false},"1.0.9":{"name":"@42how/editor-for-react","version":"1.0.9","description":"wangEditor component for React","author":{"name":"hahaaha","email":"390519764@qq.com"},"contributors":[],"homepage":"https://github.com/wangeditor-team/wangEditor-for-react#readme","license":"MIT","types":"dist/index.d.ts","main":"dist/index.js","module":"dist/index.esm.js","browser":{"./dist/index.js":"./dist/index.js","./dist/index.esm.js":"./dist/index.esm.js"},"publishConfig":{"access":"public"},"keywords":["wangEditor","富文本编辑器","富文本","react"],"repository":{"type":"git","url":"git+git@github.com:42how-dev/wangEditor-for-react.git"},"scripts":{"test":"jest","test-c":"jest --coverage","example":"cross-env NODE_ENV=development:example rollup -c rollup.example.config.js -w","dev":"cross-env NODE_ENV=development rollup -c rollup.config.js","dev-watch":"cross-env NODE_ENV=development rollup -c rollup.config.js -w","build":"cross-env NODE_ENV=production rollup -c rollup.config.js","dev-size-stats":"cross-env NODE_ENV=development:size_stats rollup -c rollup.config.js","size-stats":"cross-env NODE_ENV=production:size_stats rollup -c rollup.config.js","release":"release-it"},"bugs":{"url":"https://github.com/wangeditor-team/wangEditor-for-react/issues"},"peerDependencies":{"@42how/editor":">=5.1.0","@wangeditor/core":">=1.1.0","react":">=17.0.2","react-dom":">=17.0.2"},"devDependencies":{"@babel/core":"^7.16.0","@babel/plugin-transform-runtime":"^7.16.0","@babel/preset-env":"^7.16.0","@babel/preset-react":"^7.16.0","@babel/preset-typescript":"^7.16.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.6","@rollup/plugin-replace":"^3.0.0","@testing-library/jest-dom":"^5.15.0","@testing-library/react":"^12.1.2","@types/jest":"^27.0.3","@types/react":"^17.0.13","@types/react-dom":"^17.0.8","@wangeditor/core":"^1.0.0","autoprefixer":"^10.4.0","babel-jest":"^27.3.1","cross-env":"^7.0.3","jest":"^27.3.1","lodash":"^4.17.21","postcss":"^8.3.11","react":"^17.0.2","react-dom":"^17.0.2","release-it":"^14.11.8","rollup":"^2.59.0","rollup-plugin-cleanup":"^3.2.1","rollup-plugin-copy":"^3.4.0","rollup-plugin-delete":"^2.0.0","rollup-plugin-generate-html-template":"^1.7.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.1","rollup-plugin-serve":"^1.1.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","rollup-plugin-visualizer":"^5.5.2","ts-jest":"^27.0.7","typescript":"^4.4.4","@42how/editor":"5.2.3"},"dependencies":{},"_id":"@42how/editor-for-react@1.0.9","dist":{"shasum":"201f2390cb549266e2eab22ba6ec4b6663ddc6fb","integrity":"sha512-XFUD+/D0fGO6DjfWztiL/6KcQLLlsLZ4XXi0irl5m4Ey0yfbwJ4pZbiSYYVQal114iQm4/COWUfJIcLyCC8akA==","tarball":"https://registry.npmjs.org/@42how/editor-for-react/-/editor-for-react-1.0.9.tgz","fileCount":13,"unpackedSize":24049,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDlpaajNVtgEb0RATRuu7X9Q4S1d5aEdSUSmCwkFps7GAiEAtS2l1MhcfFiy6vKCa+jOEBqrVcCvNAK8AxcT65IQk2E="}]},"_npmUser":{"name":"xz87060361","email":"xz87060361@126.com"},"directories":{},"maintainers":[{"name":"xz87060361","email":"xz87060361@126.com"},{"name":"42how_dev","email":"app@42how.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/editor-for-react_1.0.9_1688463763038_0.957062396569968"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-03T09:57:50.843Z","1.0.6":"2023-07-03T09:57:51.098Z","modified":"2023-07-04T09:42:43.338Z","1.0.7":"2023-07-03T09:59:56.853Z","1.0.8":"2023-07-03T10:01:11.998Z","1.0.9":"2023-07-04T09:42:43.206Z"},"maintainers":[{"name":"xz87060361","email":"xz87060361@126.com"},{"name":"42how_dev","email":"app@42how.com"}],"description":"wangEditor component for React","homepage":"https://github.com/wangeditor-team/wangEditor-for-react#readme","keywords":["wangEditor","富文本编辑器","富文本","react"],"repository":{"type":"git","url":"git+git@github.com:42how-dev/wangEditor-for-react.git"},"contributors":[],"author":{"name":"hahaaha","email":"390519764@qq.com"},"bugs":{"url":"https://github.com/wangeditor-team/wangEditor-for-react/issues"},"license":"MIT","readme":"# wangEditor for React\n\n<!-- Badge -->\n\n![MIT License](https://img.shields.io/badge/License-MIT-blue)\n![jest badge](https://img.shields.io/badge/unit%20test-jest-yellowgreen)\n\n[English documentation](./README-en.md)\n\n## 介绍\n\n基于[wangEditor](https://www.wangeditor.com/) 封装的 React 组件。\n\n## 安装\n\n1. 安装组件包\n\n```shell\nyarn add @42how/editor-for-react\n# 或者npm install @42how/editor-for-react --save\n\n```\n\n2. 安装核心包\n\n```shell\nyarn add @42how/editor\n\n# 或者 npm install @42how/editor --save\n```\n\n3. 导入组件\n\n```ts\nimport { Editor, Toolbar } from \"@42how/editor-for-react\";\n```\n\n## 使用\n\n详情参考[wangEditor react 使用文档](https://www.wangeditor.com/v5/for-frame.html#react)。\n\n### 在 Next.js 下使用\n\n```js\nimport dynamic from \"next/dynamic\";\nconst WangEditor = dynamic(\n  // 引入对应的组件 设置的组件参考上面的wangEditor react使用文档\n  () => import(\"../components/myEditor\"),\n  { ssr: false }\n);\n\nexport default function Home() {\n  return <WangEditor />;\n}\n```\n\n使用案例可以参考[wangeditorV5-nextjs-demo](https://github.com/hahaaha/wangeditorV5-nextjs-demo)\n","readmeFilename":"README.md"}