{"_id":"@artibox/slate-soft-break","_rev":"3-9818c314091af6b921bdd3bc4bd4fcea","name":"@artibox/slate-soft-break","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.0":{"name":"@artibox/slate-soft-break","version":"1.1.0","description":"<div align=\"center\">   <img     src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"     height=\"200\"   /> </div>","author":{"name":"Rytass"},"homepage":"https://github.com/React-Artibox/artibox#readme","license":"MIT","sideEffects":false,"main":"./index.js","module":"./esm/index.js","typings":"./esm/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/React-Artibox/artibox.git"},"bugs":{"url":"https://github.com/React-Artibox/artibox/issues"},"scripts":{"clean":"npm run build:clean","prebuild":"npm run build:clean && node ../../tools/build/sync-publish-files-to-dist.js","build":"tsc --project ./tsconfig.app.json && tsc --project ./tsconfig.app.json -m esnext -outDir ./dist/esm","postbuild":"node ../../tools/build/sync-dist-to-node_modules.js","build:clean":"node ../../tools/build/clean.js"},"dependencies":{"@artibox/slate-common":"^1.1.0","@types/slate":"^0.47.5","is-hotkey":"^0.1.6"},"peerDependencies":{"react":"^16.8.6","slate":"^0.47.0","slate-react":"^0.22.0"},"_id":"@artibox/slate-soft-break@1.1.0","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","dist":{"integrity":"sha512-6bh25OutROX5Ailel28axZI8+33v6FXITe11lSO8kvTm54PhmNgDtGn/+1OI8Uf8AT9OhWomrbSR1b5PdswVQQ==","shasum":"8c519c9e5f96cd9b11d550092b0be23c3e52de4b","tarball":"https://registry.npmjs.org/@artibox/slate-soft-break/-/slate-soft-break-1.1.0.tgz","fileCount":22,"unpackedSize":9070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXyQLCRA9TVsSAnZWagAAwHkQAJHqXHIEcNg+WHmjdCfF\nPYs6PM1TFgyTBa8Uq3BgUBctBljPV4L8zIZNmQYHnxkLHsGrhcBjP3eWzPjS\nghdzo30pRqrxrI17YMlnbHsVIHMx0lcw8JXzRz657mtgo2MRVDK7YjfqWvsS\ntKYs9eMeiti6zGA0f0+lTD5uj9yz4wweuF1moffvzyKZ9PLEpYXU6cXGEJ75\nVlgZYAiXcruOXGD3A3oqwDT79NcjIn5IPrtk2FOYK6+Tbqwj/0UUsfGcP2tU\ntQ9kqVN1XXpNk11swYpyhmIK8X9LD1sn2d4MJXWLEDCw7iD2Jxt3w5AvRAeT\nMlTqNC7JSijYMrms83T6C7agZrg25tcQpcJhC627vSJfrv9OCg6OeV8RwjpW\nCW3+kmzsb+jh0i/md519nRZHobdInu5osxA3IHv8GPM0ePZzdxAQfQX8DUhO\noEg1HXguYhQunEU4n4jRRbuQKPuvl1bmtrVhp50LHGfYM98X+32rtca0luSm\nxg6uu+EPZK/Ni0bJheC3WRM+oGbvDvQrWPPde/HMMOmj+8sRP2gMzorDnWPR\nC9RjLxwif5X+aTd1T4z3uBB3aeEN6yeoJ0aBnbcmooNqRFYzFtJV8u6EteHq\n5F+m9K/wNYGveC/mAairwZ9hCq+2mF+MhM2e+QxrLr6IFrDUTpYtGM7GS77Q\nsgKz\r\n=iQG8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd2VDaCwgoiQ325yas0s6sgM4JeJ98z2qAh3gU0bJ/NgIhAJYLYAUBdLkQ0QhIXEtADJ8Zee+Wx5KYnly0Ff4ItW2P"}]},"maintainers":[{"name":"jay0328","email":"gcobs135102@gmail.com"},{"name":"fantasywind","email":"fantasyatelier@gmail.com"}],"_npmUser":{"name":"jay0328","email":"gcobs135102@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slate-soft-break_1.1.0_1600070667264_0.5514198825974903"},"_hasShrinkwrap":false},"1.2.0":{"name":"@artibox/slate-soft-break","version":"1.2.0","description":"<div align=\"center\">   <img     src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"     height=\"200\"   /> </div>","author":{"name":"Rytass"},"homepage":"https://github.com/React-Artibox/artibox#readme","license":"MIT","sideEffects":false,"main":"./index.js","module":"./esm/index.js","typings":"./esm/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/React-Artibox/artibox.git"},"bugs":{"url":"https://github.com/React-Artibox/artibox/issues"},"scripts":{"clean":"npm run build:clean","prebuild":"npm run build:clean && node ../../tools/build/sync-publish-files-to-dist.js","build":"tsc --project ./tsconfig.app.json && tsc --project ./tsconfig.app.json -m esnext -outDir ./dist/esm","postbuild":"node ../../tools/build/sync-dist-to-node_modules.js","build:clean":"node ../../tools/build/clean.js"},"dependencies":{"@artibox/slate-common":"^1.2.0","@types/slate":"^0.47.5","is-hotkey":"^0.1.6"},"peerDependencies":{"react":"^16.8.6","slate":"^0.47.0","slate-react":"^0.22.0"},"_id":"@artibox/slate-soft-break@1.2.0","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","dist":{"integrity":"sha512-QGdXz1I1kmDqAmG8hT5fmCSLlPM8mhLoKxwpdvvMLPGATT+x8nW42HY3PjBejYVspmcTmsx1/AcS274mtktFOA==","shasum":"75bd801265e01f060c20c248f4fc83e306a9f299","tarball":"https://registry.npmjs.org/@artibox/slate-soft-break/-/slate-soft-break-1.2.0.tgz","fileCount":22,"unpackedSize":9227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbuKVCRA9TVsSAnZWagAAbxEP+QEeGEUg9ae7t3rgUAlw\n6NUtWA0lFgc5uTq766TDoTAkyh4VCrrU9ZDcSvNcV/pB4ccD226tnVkKcRAL\njqmSnPHcD1TE6B4IIuxpUwOKTz+8xl6Vu4TFEBUG1VS93+uproayXvI4xoWI\nwwBJmoqb1NCzSqdPHSi2j4S5hZoBc8mCMnoBqaXvwGZdpp+oVrdSpNMW2Hfn\njPE9ftlwzFlZAnhwY6MqoAG8v4SwkIZWdSirysQ9bTXdU6kBBV9DLfTq8R0e\nQvD0k5f9oog2P1coP2uHunicAv6hZJxRP3YpybMD3X7xv5Oq3Azy37duRuAy\n1gCb1cFdNcWZ6KVI8r/miLJBtl+K8BJROS8n5oWxpthHo/p5u9hdNLhZ9Uu6\nCKCLZkotTlJsUVy8nB8b64gclRB6ZsHesPRRKRxOPVW5yZEblhtWN1+7X9qC\nGsKPKgp7ObjxEjDU/Z7THVROhD6q2C0A7llcBwhqRcLtOXX0LByF6Fsrn9go\ntUwSeK7ak5KtYMrGVqfr6wPSII1aieKnN+Q9lNOhLxSEBGoOH9baNPrVGNlp\nQDq+Qpgko5//I4rAREOuMq/CxAfCaKbGNc55rzYhvOSa9mrIIxd1VvtCr9dB\nCIbxeDK64/4KTy8/n1j6dUus7bFS35qnXjTdtEEkD1gfYzgoUFL6lIiU3U3x\n9YMg\r\n=gA3t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtdNSRSoRLn6/5BJ+KgHzi5EdCfAYulWex6hVibRCR9gIgBstsgBkqRGG/8+lcTLSjzXIpLmnm5s4KSaj3+/5m/s0="}]},"maintainers":[{"name":"jay0328","email":"gcobs135102@gmail.com"},{"name":"fantasywind","email":"fantasyatelier@gmail.com"}],"_npmUser":{"name":"jay0328","email":"gcobs135102@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slate-soft-break_1.2.0_1601102485275_0.6519111086179585"},"_hasShrinkwrap":false}},"time":{"created":"2020-09-14T08:04:27.037Z","1.1.0":"2020-09-14T08:04:27.407Z","modified":"2022-04-04T15:37:47.649Z","1.2.0":"2020-09-26T06:41:25.445Z"},"maintainers":[{"email":"fantasyatelier@gmail.com","name":"fantasywind"}],"description":"<div align=\"center\">   <img     src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"     height=\"200\"   /> </div>","homepage":"https://github.com/React-Artibox/artibox#readme","repository":{"type":"git","url":"git+https://github.com/React-Artibox/artibox.git"},"author":{"name":"Rytass"},"bugs":{"url":"https://github.com/React-Artibox/artibox/issues"},"license":"MIT","readme":"<div align=\"center\">\n  <img\n    src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"\n    height=\"200\"\n  />\n</div>\n\n<h1 align=\"center\">@artibox/slate-soft-break</h1>\n\n<div align=\"center\">\n\n[Slate](https://github.com/ianstormtaylor/slate) sort break.\n\n[![npm package](https://img.shields.io/npm/v/@artibox/slate-soft-break.svg?maxAge=60)](https://www.npmjs.com/package/@artibox/slate-soft-break)\n[![npm downloads](https://img.shields.io/npm/dt/@artibox/slate-soft-break.svg?maxAge=60)](https://www.npmjs.com/package/@artibox/slate-soft-break)\n\n</div>\n\n## Installation\n\n```bash\nnpm install @artibox/slate-soft-break --save\n\nor\n\n$ yarn add @artibox/slate-soft-break\n```\n\n## Usage\n\n### Editor\n\n```js\nimport React from 'react';\nimport { createArtiboxEditor } from '@artibox/slate-editor';\nimport { SoftBreak } from '@artibox/slate-soft-break';\n\nconst plugins = [SoftBreak.forPlugin()];\n\nconst Editor = createArtiboxEditor({\n  plugins\n});\n\nexport default Editor;\n```\n\n## API\n\n- [insertSoftBreak](./src/add-soft-break.ts)\n- [SoftBreak.forPlugin](./src/soft-break.ts#L13)\n","readmeFilename":"README.md"}