{"_id":"draft-js-plugins-utils","_rev":"2-f3b537ff86133b2a3cd6eefd0afce746","name":"draft-js-plugins-utils","dist-tags":{"latest":"2.0.3"},"versions":{"2.0.2":{"name":"draft-js-plugins-utils","version":"2.0.2","description":"Plugin utilities for draft js","author":{"name":"Julian Krispel-Smasel","email":"julian@reactrocket.com"},"repository":{"type":"git","url":"git+https://github.com/draft-js-plugins/draft-js-plugins.git"},"main":"lib/index.js","keywords":["editor","wysiwyg","draft","react","ux","components","widget","react-component"],"scripts":{"clean":"../node_modules/.bin/rimraf lib","build":"npm run build:js && npm run build:flow","build:js":"WEBPACK_CONFIG=$(pwd)/webpack.config.js BABEL_DISABLE_CACHE=1 BABEL_ENV=production NODE_ENV=production ../node_modules/.bin/babel --out-dir='lib' --ignore='__test__/*' src","build:flow":"cp src/index.js lib/index.js.flow","prepublish":"npm run build"},"license":"MIT","peerDependencies":{"draft-js":"^0.10.1"},"bugs":{"url":"https://github.com/draft-js-plugins/draft-js-plugins/issues"},"homepage":"https://github.com/draft-js-plugins/draft-js-plugins#readme","_id":"draft-js-plugins-utils@2.0.2","_npmVersion":"5.8.0","_nodeVersion":"8.10.0","_npmUser":{"name":"juliankrispel","email":"julian@reactrocket.com"},"dist":{"integrity":"sha512-PXbNnMDYzu7CS72+Sx1vnwqE7lcW7q9+4LiZryOjYRbv0iwdf1pj9Wgcj52JGhBK1kkUtaKR8pH1x7DkaYbHoQ==","shasum":"b2f8572808a2b921e079ff44d03ac7e74fb2c598","tarball":"https://registry.npmjs.org/draft-js-plugins-utils/-/draft-js-plugins-utils-2.0.2.tgz","fileCount":8,"unpackedSize":6530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4NCdCRA9TVsSAnZWagAAupQP/0U4SPKbyXLUQ2M6HWET\nBtpCM8QFHAYaxr+a6YeOgideNAZ0VmFqzUK3yqRyHBGcyy8UpK3RUoXK42lE\nFbB4o1JOjZgZVWNN4/g1oGNe+DghQjFtnhs9pbnwRdcbaNSavJfiKGVFRF/z\nVxv7fDbOdVk3k6stXJywi0hDWnXA1ctGpWWWaCOoG0vLw/tJgFqtp4YH9a9t\nkZfS6qtowRWjWNu02+cjdgQt5Ie4s8qDk9lbgu42Js3h4OyK4RlEBKJUljSB\n6AwlLEDH7MXZ/KaXWJHFmHUyEj4yGuO8UYB+O+Rj17Xi3ynnzy+4hiiEZQBc\nFiQfs0Kl+aif5mRrvhxz1CeaEVxVU6bd85p3KQQODKKAcVdGixLmhel6O5yO\neiI1UZ7BJHTJ/hdI19oY7dofbKjS2yF6mOA1Ca9qV6pw3qAMCLVNmfnpAGS/\n1YUlv5cglIVvLevk0gUjM62e//Us8JegMujWJPAmrrFW/KWp/g3yax2bDudw\nftwLVyj0fO8O7ph2S48lE33UMwQbj5FBzqANdPoM+oMIybr163Q+8zBtPgi5\n3KyMVrFsbqEtOIEatVW2Bmg3L+9pnIoH6nqhUQpkRv6sNWAiY4XpfL8N1Kp8\ndsildxhuUFY0gUlnqhJHVVsyMxATyj1v20vsmALmT9H0REntPFHbeQNNiWA2\n186l\r\n=iREh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQeO8ZFMGm5W/cN4PhG8nP7kbSvIM+VYt4ernC340qeAIhAKSajjqI8Dw599YYBjeGPC4ywdlEjfly8agzEAaT2ExU"}]},"maintainers":[{"name":"juliankrispel","email":"julian@reactrocket.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/draft-js-plugins-utils_2.0.2_1524682908498_0.035241901221912286"},"_hasShrinkwrap":false},"2.0.3":{"name":"draft-js-plugins-utils","version":"2.0.3","description":"Plugin utilities for draft js","author":{"name":"Julian Krispel-Smasel","email":"julian@reactrocket.com"},"repository":{"type":"git","url":"git+https://github.com/draft-js-plugins/draft-js-plugins.git"},"main":"lib/index.js","keywords":["editor","wysiwyg","draft","react","ux","components","widget","react-component"],"scripts":{"clean":"../node_modules/.bin/rimraf lib","build":"npm run build:js && npm run build:flow","build:js":"WEBPACK_CONFIG=$(pwd)/webpack.config.js BABEL_DISABLE_CACHE=1 BABEL_ENV=production NODE_ENV=production ../node_modules/.bin/babel --out-dir='lib' --ignore='__test__/*' src","build:flow":"cp src/index.js lib/index.js.flow","prepublish":"npm run build"},"license":"MIT","peerDependencies":{"draft-js":"^0.10.1"},"bugs":{"url":"https://github.com/draft-js-plugins/draft-js-plugins/issues"},"homepage":"https://github.com/draft-js-plugins/draft-js-plugins#readme","_id":"draft-js-plugins-utils@2.0.3","_npmVersion":"6.0.0","_nodeVersion":"8.10.0","_npmUser":{"name":"juliankrispel","email":"julian@reactrocket.com"},"dist":{"integrity":"sha512-MjSIRjaCbSANjE0Fmg3wh4NsVF5y89AkrGxsJLOkMrPS0ZGymK1YHaqIelrBJt+6Kr46ALtHQieaOFxEbqbrdg==","shasum":"ba76c780bd097e05c4a4a02dfb2f72d1e238ab07","tarball":"https://registry.npmjs.org/draft-js-plugins-utils/-/draft-js-plugins-utils-2.0.3.tgz","fileCount":8,"unpackedSize":7325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTKdbCRA9TVsSAnZWagAAjkEQAJBEdYKB/IZYpm3tN+Va\nBWjMbKAVn4yTPB/252B+zosY2xCjbBIyYVzchf4Y5PCqZg3hLuXhtOXq54GU\nts+112hrmcVbDzNiJP7nciJagdCh7ANNKnMXPpnsC4L2BAa+/8oKaJwia54A\n3HZM6VrgewZAJJKrr/zknmPrSXBLoJVVsYZIjgsZ6Jg2cmvpI+Ak8JoPR7ZW\nJGEitqXec1D5Cyw7wlDU3WGsDQIWK4hYWohAjUHDHFnxKOPv3qicnnSlsP+H\nPKIB9wiyPVpegODuC+VKAtkBELnwPv7fDUbLDDk98naMs7oRfYMpxFhEGWL5\nSA63sfcSKp/ESbX3DG1H5tgrD5y8m2DAGTw7SymPbm4xw558Dk00iR+H5dRO\nOMKXwulLK5ocrE53aGoOvkGchDtSkOmGqu0Mr1/v5kdaLHmUx4gcvPaayy8t\n4kHPL8iQ7pFGwI7w6EArMCdgsfk5mTInwDtX2PcTgpWih9Tj9oH6IrwgzfN3\nlSZq/uoBQUmiexer+JwIRsBCd85tFKphMqj3yHoFK9m7rlzTdnUML0A/WOuV\nwRTF9xFLNYRINXb0Xnt0Bv9PQ6Vf6UloZoKCh6iiYqZYhpXajKGp9Ri57wvZ\ndhzNbcbQ6qnOt1wgN+Y8L7Br/TTpRV+skDCnD6bPp1hw43aCU4WYIwBWF4rC\nnSNQ\r\n=odyF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCjkCghbN2eM0HLdVnhSKI8m4EAvbiggJ8yvOdIXd8twIgc7hIKlEmXw1GFHnv8NC1+jUcVCYCMq+UdlEXyRmxinM="}]},"maintainers":[{"name":"juliankrispel","email":"julian@reactrocket.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/draft-js-plugins-utils_2.0.3_1531750235679_0.43776679145526587"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-25T19:01:48.497Z","2.0.2":"2018-04-25T19:01:48.596Z","modified":"2022-04-29T04:59:42.545Z","2.0.3":"2018-07-16T14:10:35.959Z"},"maintainers":[{"name":"juliankrispel","email":"julian@reactrocket.com"}],"description":"Plugin utilities for draft js","homepage":"https://github.com/draft-js-plugins/draft-js-plugins#readme","keywords":["editor","wysiwyg","draft","react","ux","components","widget","react-component"],"repository":{"type":"git","url":"git+https://github.com/draft-js-plugins/draft-js-plugins.git"},"author":{"name":"Julian Krispel-Smasel","email":"julian@reactrocket.com"},"bugs":{"url":"https://github.com/draft-js-plugins/draft-js-plugins/issues"},"license":"MIT","readme":"# Draft js plugin utilities\n\nAvailable methods\n\n## createLinkAtSelection\n\n```js\ncreateLinkAtSelection(\n  editorState: EditorState,\n  url: string\n) => EditorState\n```\n\n## removeLinkAtSelection\n\n```js\nremoveLinkAtSelection(\n  editorState: EditorState,\n) => EditorState\n```\n\n## getCurrentEntityKey\n\n```js\ngetCurrentEntityKey(\n  editorState: EditorState,\n) => DraftEntityKey\n```\n\n## getCurrentEntity\n\n```js\ngetCurrentEntity(\n  editorState: EditorState,\n) => DraftEntity\n```\n\n## hasEntity\n\n```\nhasEntity(\n  editorState: EditorState,\n  entityType: DraftEntityType\n) => boolean\n```\n","readmeFilename":"README.md"}