{"_id":"@bonifacy1/field-editor-rich-text","_rev":"8-0b88dc341961cc2d0d2e4fdd7112c70d","time":{"created":"2022-12-29T13:02:50.538Z","3.3.1":"2022-12-29T11:52:18.674Z","modified":"2022-12-30T16:35:28.159Z","1.0.0":"2022-12-29T12:30:28.955Z","1.0.1":"2022-12-29T13:02:50.760Z","1.0.2":"2022-12-30T14:45:12.639Z","1.0.3":"2022-12-30T16:35:28.075Z"},"name":"@bonifacy1/field-editor-rich-text","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.1":{"name":"@bonifacy1/field-editor-rich-text","version":"1.0.1","source":"./src/index.tsx","main":"./dist/index.js","module":"dist/field-editor-rich-text.esm.js","typings":"dist/index.d.ts","author":{"name":"Contentful GmbH"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/contentful/field-editors.git"},"scripts":{"watch":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom --watch","test:ci":"tsdx test --env=jsdom --ci --passWithNoTests","tsc":"tsc -p ./ --noEmit","lint":"eslint ./src --ext .js,.jsx,.ts,.tsx","prepublishOnly":"yarn build"},"dependencies":{"@contentful/app-sdk":"^4.6.0","@contentful/contentful-slatejs-adapter":"^15.13.1","@contentful/f36-components":"^4.20.6","@contentful/f36-icons":"^4.1.1","@contentful/f36-tokens":"^4.0.0","@contentful/f36-utils":"^4.19.0","@contentful/field-editor-reference":"^5.5.4","@contentful/field-editor-shared":"^1.1.4","@contentful/rich-text-plain-text-renderer":"^15.12.1","@contentful/rich-text-types":"15.14.1","@popperjs/core":"^2.11.5","@udecode/plate-basic-marks":"^10.4.0","@udecode/plate-break":"^10.4.0","@udecode/plate-core":"^10.4.0","@udecode/plate-list":"^10.4.0","@udecode/plate-paragraph":"^10.4.0","@udecode/plate-reset-node":"^10.4.0","@udecode/plate-select":"^10.4.0","@udecode/plate-serializer-docx":"^10.4.0","@udecode/plate-table":"^10.4.0","@udecode/plate-trailing-block":"^10.4.0","@udecode/plate-alignment":"^10.4.0","@udecode/plate-ui-alignment":"^10.4.0","fast-deep-equal":"^3.1.3","is-hotkey":"^0.2.0","is-plain-obj":"^3.0.0","react-popper":"^2.3.0","slate":"^0.80.0","slate-history":"^0.66.0","slate-hyperscript":"^0.67.0","slate-react":"^0.80.0"},"peerDependencies":{"react":">=16.14.0","react-dom":">=16.14.0"},"devDependencies":{"@babel/core":"^7.9.6","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.8.3","@babel/plugin-proposal-optional-chaining":"^7.9.0","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.6","@babel/preset-env":"7.12.11","@babel/preset-react":"7.13.13","@contentful/field-editor-test-utils":"^1.2.3","@contentful/rich-text-react-renderer":"^15.11.0","@types/is-hotkey":"^0.1.6","@udecode/plate-test-utils":"^3.2.0","react":">=16.14.0"},"description":"```bash npm install @contentful/field-editor-rich-text ```","bugs":{"url":"https://github.com/contentful/field-editors/issues"},"homepage":"https://github.com/contentful/field-editors#readme","_id":"@bonifacy1/field-editor-rich-text@1.0.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-6uSX7ZK5Bz1PCV8Lgf/qVJ2OGds6h0DRUZmyljr96GT0EpziCUGRU+/su0AWtyCsgGQI2lewF7WCcbr5Ap4/tg==","shasum":"8dda752f995510c1ce8e8e68aa91eaffd6f651eb","tarball":"https://registry.npmjs.org/@bonifacy1/field-editor-rich-text/-/field-editor-rich-text-1.0.1.tgz","fileCount":170,"unpackedSize":2244516,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzI0D9yJtHoRFP3VODfOowzm0c0aaF45B74asUr8rFcAiEA/kX53BUJTfb1w9kP/4B4v8Of7go303DZkOlhk3OwM/g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrY/6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrijhAAhiX7gkrDJRkToxZz11qnIonrMt3a9qJ/WDIfgYaGd4Eq157M\r\nyKepyE91w3n6J/ThqdltnV5ujakGzrkD1PiNLOBQTwuFlFha9Sttzh6fopxJ\r\nSXfz0TosGHnIkoPcF0apYfrLSVUS+DFEfC9jHckaewt0BEIxtg3iCoYO991Q\r\nANtbqRp2bi3S543nH9H+AZ5m3JoHKsLwj2Ryk5CKZyD8YBmPV88ZeoIXbDLr\r\nHHN+LvOCpS46hqXjQXlIuzqiRzDdg8MscDpGved4aH4S3g5bmDXleq8tsFjM\r\nHz2wMnGMsomoswiKDB8wPjxIvbo9gjFmr6QELz0BL3f8/zblShkIDjLZtfd1\r\nISE80fxxJu2W5Qi+DaJMyCL1T+7NZoNE31g15G4YHsdt/8+PZD5zYUaH8Jpc\r\nKbi4OKh4dAlJ7P2KO4f/2Pof6bJ4RDbc9rO1rb7UrnXJrTwfdbBd8prCp1qZ\r\nO0cNEyTwFpTKwoWv2H3ZhqihU+xD08sspF6DUjiH1AK37upIibWkjRiSnHVi\r\n7Ew1o+isxmvu5MS39uNOyusCaIT6J+F5gnt7FEJORH443ser3aXCZgchCfnu\r\nX6X6m3yWhRS8DrdGo9LlWxXNDCzu6HMtqYJsx3xxLgRWaSE/ExaE/ADdy9Bq\r\n2jJV/yKrc2W4PsHTPBvjXNW9NyjELG0nzV0=\r\n=Q7dl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bonifacy1","email":"szewczyk134@gmail.com"},"directories":{},"maintainers":[{"name":"bonifacy1","email":"szewczyk134@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/field-editor-rich-text_1.0.1_1672318970585_0.7504798651582274"},"_hasShrinkwrap":false},"1.0.2":{"name":"@bonifacy1/field-editor-rich-text","version":"1.0.2","source":"./src/index.tsx","main":"./dist/index.js","module":"dist/field-editor-rich-text.esm.js","typings":"dist/index.d.ts","author":{"name":"Contentful GmbH"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/contentful/field-editors.git"},"scripts":{"watch":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom --watch","test:ci":"tsdx test --env=jsdom --ci --passWithNoTests","tsc":"tsc -p ./ --noEmit","lint":"eslint ./src --ext .js,.jsx,.ts,.tsx","prepublishOnly":"yarn build"},"dependencies":{"@contentful/app-sdk":"^4.6.0","@contentful/contentful-slatejs-adapter":"^15.13.1","@contentful/f36-components":"^4.20.6","@contentful/f36-icons":"^4.1.1","@contentful/f36-tokens":"^4.0.0","@contentful/f36-utils":"^4.19.0","@contentful/field-editor-reference":"^5.5.4","@contentful/field-editor-shared":"^1.1.4","@contentful/rich-text-plain-text-renderer":"^15.12.1","@contentful/rich-text-types":"15.14.1","@popperjs/core":"^2.11.5","@udecode/plate-basic-marks":"^10.4.0","@udecode/plate-break":"^10.4.0","@udecode/plate-core":"^10.4.0","@udecode/plate-list":"^10.4.0","@udecode/plate-paragraph":"^10.4.0","@udecode/plate-reset-node":"^10.4.0","@udecode/plate-select":"^10.4.0","@udecode/plate-serializer-docx":"^10.4.0","@udecode/plate-table":"^10.4.0","@udecode/plate-trailing-block":"^10.4.0","@udecode/plate-alignment":"^10.4.0","@udecode/plate-ui-alignment":"^10.4.0","fast-deep-equal":"^3.1.3","is-hotkey":"^0.2.0","is-plain-obj":"^3.0.0","react-popper":"^2.3.0","slate":"^0.80.0","slate-history":"^0.66.0","slate-hyperscript":"^0.67.0","slate-react":"^0.80.0"},"peerDependencies":{"react":">=16.14.0","react-dom":">=16.14.0"},"devDependencies":{"@babel/core":"^7.9.6","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.8.3","@babel/plugin-proposal-optional-chaining":"^7.9.0","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.6","@babel/preset-env":"7.12.11","@babel/preset-react":"7.13.13","@contentful/field-editor-test-utils":"^1.2.3","@contentful/rich-text-react-renderer":"^15.11.0","@types/is-hotkey":"^0.1.6","@udecode/plate-test-utils":"^3.2.0","react":">=16.14.0"},"description":"```bash npm install @contentful/field-editor-rich-text ```","bugs":{"url":"https://github.com/contentful/field-editors/issues"},"homepage":"https://github.com/contentful/field-editors#readme","_id":"@bonifacy1/field-editor-rich-text@1.0.2","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-MngGewtTo83aXl0081nQsmHoa8uJek6fj5Th66n1nev9+Umd5zMwFjnOLmj/vhU5hN+KsOclu+zRPU0XZdQjfA==","shasum":"c34a5fb5a273f858d8076e10c5b1dcf638035068","tarball":"https://registry.npmjs.org/@bonifacy1/field-editor-rich-text/-/field-editor-rich-text-1.0.2.tgz","fileCount":170,"unpackedSize":2246769,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEEi5C0lOIb2VZ77//LeeUo1AYos9XSdhb18LoVmLqtuAiASHLFAH23PnnBH03aQ4UEyFkO8jz5Q100nec1xnmHaIA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrvl4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPBg/+JpBAnB8g24tc0KMdkyYWXzLzL+1JlSQJYerwqQvisQ1PH9L9\r\nr+PjWclFumRO8cur3S7z/ZYDLgTH8u3whnvVzooVj+Cpe/8iPqRkDAdkU3bt\r\n0tdJ8M8E+1hFexnXMRi6kzHriyE8bTskkaEVr006M06ebDPE8F/xynf/yU7W\r\ntn1DZ4SAJXWKD+NmRcrtVn00NEmEaL13TmLZEqJwzufuuBkdbT6NUhkg1RZm\r\nfHaOG6p7ZvD0C+eRtArYU2RMBHXGh4nyJsjbj5EmajVx7dV+f7NSDCdUW8aM\r\n28JaH7DNdvetaaea5SN8poxfgmU64knqc83Jh6/Be4ekMoCbtTIInJwioUKp\r\nOAuAIxMQPPKrpdqvK4fUhohaEsASFMPGoUZ5ejfLijlfI1en7Oxoxfq0QNDO\r\nT0XrEkrViyJDXB8JMDAYTDtS9hs3KNK45M1SznM3t2dHijHZNqm7ph/XMk28\r\nz6JEzwx1DCqPglHT1DbbkRLaa6tEAFX+dun/m42MFUV1I317LYGDeknfcYZi\r\nmprTVL2OM8QpM/Ym34qYFPN2NFQ8RbUYJEb39yBb3Q5dNGlW0f14GYHdgZ3E\r\n6R7Hb9OGY82vwrOR/Y7eSNGII2cNMKi3+ggAu/aiShD/IceOf16mN9ZjBrUN\r\nXaS8JLCpuzoPm1yyhvGYOPDzJb8N224skLw=\r\n=4Kxj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bonifacy1","email":"szewczyk134@gmail.com"},"directories":{},"maintainers":[{"name":"bonifacy1","email":"szewczyk134@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/field-editor-rich-text_1.0.2_1672411512422_0.2617085444422549"},"_hasShrinkwrap":false},"1.0.3":{"name":"@bonifacy1/field-editor-rich-text","version":"1.0.3","source":"./src/index.tsx","main":"./dist/index.js","module":"dist/field-editor-rich-text.esm.js","typings":"dist/index.d.ts","author":{"name":"Contentful GmbH"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/contentful/field-editors.git"},"scripts":{"watch":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom --watch","test:ci":"tsdx test --env=jsdom --ci --passWithNoTests","tsc":"tsc -p ./ --noEmit","lint":"eslint ./src --ext .js,.jsx,.ts,.tsx","prepublishOnly":"yarn build"},"dependencies":{"@contentful/app-sdk":"^4.6.0","@contentful/contentful-slatejs-adapter":"^15.13.1","@contentful/f36-components":"^4.20.6","@contentful/f36-icons":"^4.1.1","@contentful/f36-tokens":"^4.0.0","@contentful/f36-utils":"^4.19.0","@contentful/field-editor-reference":"^5.5.4","@contentful/field-editor-shared":"^1.1.4","@contentful/rich-text-plain-text-renderer":"^15.12.1","@contentful/rich-text-types":"15.14.1","@popperjs/core":"^2.11.5","@udecode/plate-basic-marks":"^10.4.0","@udecode/plate-break":"^10.4.0","@udecode/plate-core":"^10.4.0","@udecode/plate-list":"^10.4.0","@udecode/plate-paragraph":"^10.4.0","@udecode/plate-reset-node":"^10.4.0","@udecode/plate-select":"^10.4.0","@udecode/plate-serializer-docx":"^10.4.0","@udecode/plate-table":"^10.4.0","@udecode/plate-trailing-block":"^10.4.0","@udecode/plate-alignment":"^10.4.0","@udecode/plate-ui-alignment":"^10.4.0","fast-deep-equal":"^3.1.3","is-hotkey":"^0.2.0","is-plain-obj":"^3.0.0","react-popper":"^2.3.0","slate":"^0.80.0","slate-history":"^0.66.0","slate-hyperscript":"^0.67.0","slate-react":"^0.80.0"},"peerDependencies":{"react":">=16.14.0","react-dom":">=16.14.0"},"devDependencies":{"@babel/core":"^7.9.6","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-nullish-coalescing-operator":"^7.8.3","@babel/plugin-proposal-optional-chaining":"^7.9.0","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.6","@babel/preset-env":"7.12.11","@babel/preset-react":"7.13.13","@contentful/field-editor-test-utils":"^1.2.3","@contentful/rich-text-react-renderer":"^15.11.0","@types/is-hotkey":"^0.1.6","@udecode/plate-test-utils":"^3.2.0","react":">=16.14.0"},"description":"```bash npm install @contentful/field-editor-rich-text ```","bugs":{"url":"https://github.com/contentful/field-editors/issues"},"homepage":"https://github.com/contentful/field-editors#readme","_id":"@bonifacy1/field-editor-rich-text@1.0.3","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-Ak4eMhtdXNkWO5bODSqXLsFg6XkQU2iBI3MLneNa3a1SjTbHu9uLGT5EuVoEOtzN+8urInqGkyml8sSiOAHSCg==","shasum":"f24f46ea05bdc4e888307618accdef4537d6c709","tarball":"https://registry.npmjs.org/@bonifacy1/field-editor-rich-text/-/field-editor-rich-text-1.0.3.tgz","fileCount":170,"unpackedSize":2248067,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKymPIwUlPIaXf6tr50AWg70/iNIN1n3iWU+VfAwu2fAIhAIB6pObTGiLV/ZEFNNeZGyjuiquNap6qQpvOqTRuGJGm"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrxNQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDMg/+O+3UB1acKFk/KnsE9MXj63p/6nYRt8SnzcXAaVKKjlZMN0e5\r\nXco1QJTPOcVxfyxS09ecJQ7ZU65tJZmx7gVrNKn+U1XQrKT3vhtKJPg0T5xC\r\nluAMaDgWDuufWjyhWjzpbeZezAo2r9EX0MXYgqAuUlKRCd3ljiEsdzVrRvJV\r\nTQHu+T2IRtO6byzcIuUkZhsCSy/P4EsdNMClyKlgmtJKJ/FG6515/DyA/yMM\r\ncCvTKqyJuGkdtl59bNqiac2gN3ZXQiNE14L9kS36emryLqBn80jWS6rWxCl5\r\nNxHj+ezKJ35GmkMp8ggVZaICrqhWMoAqldYnI6vFn+B/cWMb5uRGm7j2skNA\r\n6iEo4MrxzEr5fTvTiKhK2gDyxPsyp+75t8poUCib907sDTg7akchkE88WFNh\r\nsuxJgpSa7gfD+6DJ8WkV/uW6lgU3ApT99kVUQh6wMZOrA0mMquYOYoVGV52w\r\n+O+nxXWjrztVTA0oR6mSJw158jkOX1uW0SLCSak9fl1pTKcuSHY/Q7c5Mlqi\r\noijyCm8YxgR2qOwaxybSlQALj7q7RJbdoDAdqX2SaE0pM0KoMRaZQch36lch\r\nrA5UruRdiXAn8OblJCdWyL4Ie1whVWn21hPaHFyRo2luGmeoUPD0lNttKUve\r\n0yIvAwJpCzuU7Wu7xjyzpE9kaObLUZyfsYo=\r\n=JPWl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bonifacy1","email":"szewczyk134@gmail.com"},"directories":{},"maintainers":[{"name":"bonifacy1","email":"szewczyk134@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/field-editor-rich-text_1.0.3_1672418127889_0.42251171722888703"},"_hasShrinkwrap":false}},"maintainers":[{"name":"bonifacy1","email":"szewczyk134@gmail.com"}],"description":"```bash npm install @contentful/field-editor-rich-text ```","homepage":"https://github.com/contentful/field-editors#readme","repository":{"type":"git","url":"git+https://github.com/contentful/field-editors.git"},"author":{"name":"Contentful GmbH"},"bugs":{"url":"https://github.com/contentful/field-editors/issues"},"license":"MIT","readme":"# @contentful/field-editor-rich-text\n\n```bash\nnpm install @contentful/field-editor-rich-text\n```\n\nThis package contains a React `RichTextEditor` component that is used as the default for `RichText` field type in the Contentful web application.\n\n```js\nimport 'codemirror/lib/codemirror.css';\nimport { RichTextEditor } from '@contentful/field-editor-rich-text';\n```\n\n## Migrating to v2\n\nTo bring support for Rich Text Tables we rewrote most of the internals of this package to adapt the latest version of [Slate][slate]. We are releasing this change as v2.0.0.\n\nThere are two ways our users typically use the rich-text field editor:\n\n### 1. By embedding `@contentful/field-editor-rich-text` npm package\n\nSince the public API exposed by the package remains the same, upgrading to v2 should be seamless as it's just a matter of installing the latest version from npm. No migration is needed.\n\n### 2. By forking the source code\n\nYou will need to adapt your fork to work with v2. Here is a highlight of the major changes:\n\n1. Using Slate >= v0.80.0. If you're upgrading from < 0.50.x Please check the library [migration guide](https://docs.slatejs.org/concepts/xx-migrating)\n2. Using Plate as a plugin system. Plate is a powerful plugin system to make it easy to work with Slate. All of the existing rich text plugins were rewritten to use Plate. To learn more, please check Plate's [website][plate].\n\n## Credits\n\nThis package is based on [Slate][slate] & [Plate][plate] and also borrows some of their code. Without them, this project would not have been possible.\n\n[slate]: https://www.slatejs.org/\n[plate]: https://plate.udecode.io/\n","readmeFilename":"README.md"}