{"_id":"5e-quill-editor","name":"5e-quill-editor","dist-tags":{"latest":"0.0.19"},"versions":{"0.0.19":{"name":"5e-quill-editor","version":"0.0.19","description":"> TODO: description","main":"lib/index.js","module":"lib/index.js","typings":"lib/index.d.ts","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"father build"},"directories":{"lib":"lib","test":"__tests__"},"author":"","license":"ISC","dependencies":{"father":"^4.3.1","react":"^18.2.0","react-quill":"^2.0.0"},"devDependencies":{"vconsole":"^3.15.1"},"gitHead":"48d0157986f986f70bff646032900d0c15e342a5","_id":"5e-quill-editor@0.0.19","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-ZMDsOmwqVmfF4l3nUmzCwKuA/nJSZX1iKu9AEiNTBPwozNvJ3Y5wj3g5JeyWCOYtQE7lIKLF+M4G29M+qMsgpQ==","shasum":"aa329d0e0c64abcaa988770ddbfd15b437f42f29","tarball":"https://registry.npmjs.org/5e-quill-editor/-/5e-quill-editor-0.0.19.tgz","fileCount":9,"unpackedSize":12444,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWjrVV+zd77scVxuxdgNi/C2hH4daaqgmsAsIXkhWA3gIhALPyWMCh/jVOC4FXHToXMJzsIuDebi0WMH1l0tY7g4kN"}]},"_npmUser":{"name":"onionsix","email":"15014006740@163.com"},"maintainers":[{"name":"onionsix","email":"15014006740@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/5e-quill-editor_0.0.19_1694075562706_0.9385843780049894"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-07T08:32:42.645Z","0.0.19":"2023-09-07T08:32:42.885Z","modified":"2023-09-07T08:32:43.249Z"},"maintainers":[{"name":"onionsix","email":"15014006740@163.com"}],"description":"> TODO: description","license":"ISC","readme":"# 编辑器文档\n\n> TODO: description\n\n## 安装\n\n```sh\nyarn add @5e/editor\n```\n\n[用法](https://front-sites.wemore.com/editors/src)\n\n```ts\nimport React,{useState} from 'react'\nimport {Editor} from '@5e/editor'\nimport 'react-quill/dist/quill.snow.css'\nimport '@5e/editor/lib/index.css'\n\n\nconst App = () => {\n  const [value, setValue] = useState({})\n\n  const onChangeValue = () => {\n    // 编辑器value change\n  }\n\n  const onBlurValue = () => {\n    // 失去焦点执行change操作\n  }\n\n  return <Editor editValue={value} onChangeValue={onChangeValue} onBlurValue={onBlurValue}  />\n}\n\nexport default App\n```\n","readmeFilename":"README.md"}