{"name":"@draft-js-plugins/buttons","version":"4.0.0-beta2","description":"Buttons for DraftJS","author":{"name":"Nik Graf","email":"nik@nikgraf.com"},"repository":{"type":"git","url":"git+https://github.com/draft-js-plugins/draft-js-plugins.git"},"main":"lib/index.cjs.js","module":"lib/index.esm.js","types":"lib/index.d.ts","keywords":["editor","wysiwyg","draft","react","ux","components","widget","react-component"],"scripts":{"clean":"yarn rimraf lib","build":"yarn build:js && yarn build:dts","build:js":"yarn rollup --config ../../rollup.config.js","build:dts":"tsc -d"},"license":"MIT","dependencies":{"clsx":"^1.0.4"},"peerDependencies":{"draft-js":"^0.10.1 || ^0.11.0","react":"^15.5.0 || ^16.0.0-rc","react-dom":"^15.5.0 || ^16.0.0-rc"},"publishConfig":{"access":"public"},"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/buttons@4.0.0-beta2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-xUo1q5srX8sYnQ/zJ7L2dv4LDHGSmQuyyAoUQvZ8ep/puSwkeaAY/gGMkW2W14UQGWJpNOpa22+UBbF3zOjvxA==","shasum":"e48334425ed5b16057e8a69a6da423d3b393d82f","tarball":"http://registry-npm.ywwl.com/@draft-js-plugins/buttons/download/@draft-js-plugins/buttons-4.0.0-beta2.tgz","fileCount":27,"unpackedSize":31979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftCUwCRA9TVsSAnZWagAAYs0P+gJANPcP1OS/Dl1AF+5R\nm1IO8uhwM9xU2+W8PtiRIBMOGO3+Dm4ko2HJsjyL4ZPuh1/EpAbyApq76hIS\nl6tHHyHbOhKhoj+oHw0Gw9DOaRxWFEAHMY7Yt3+behi/f2iRUtt+8A0XLED4\nVKE0mIIzlk82GVwebAxx9SlbaLCDTTpkyDDpk12Cc9qNKUuedXkfPuZmuYXP\nKL7erAJbsrO7pEt3cB431DhUcGZXgsADS/1fQNGe+PC+xFAtVuJAt3kJj3A0\n/JhuhXL2kOiOIjgwmjPgiIm8yS3YeFFxu8W2Wl2+UfeIHz4BpFYdbdfDdyqB\nQTIYs4E2psjr6lplwjTKewEgmENmlOjmRnzgdFLA7xvzwdGpW2kzGwIPfJa7\n/ECy8RtFJQhvD6otNTxyCn9GMe6Qo7vLfRrAgu4No8164P2vd+xKs7LzNzLo\nn8BMSX6aJnnsu2TZK2mB5SiREJwWeSlOqQTJ68RzZLBR66f9AKGfusHamcO4\n1e5vqNZPbvLrAhI27CUKjfoxUB/Y3q0eD5d19rlfo+Ub6hqjJ1JntIXDmYqd\nUL5sQP/Yb1eDa3td37vMZlRK8OTxKg8tv1BmbG7z4wBVTpDe6YhmvXpHOplD\nyGFe9AopKYQ/S7R/WsgcuEtKS0zcmPJhuronBimPfSidav60ZgGUkDtvSRV4\nGQ8F\r\n=Rjjb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICTVSeJ7GaR3i57WHRdi41uxrQ7HuzYSH3lAAE/cHznWAiEApqHnphPWEfc4vo/c7aKVDhcxxEO35ZTUWQUnfcwlqgM="}],"size":5311,"noattachment":false,"key":"/@draft-js-plugins/buttons/-/@draft-js-plugins/buttons-4.0.0-beta2.tgz"},"_npmUser":{"name":"sibelius","email":"sibeliusseraphini@gmail.com"},"directories":{},"maintainers":[{"name":"juliankrispel","email":"julian@reactrocket.com"},{"name":"nikgraf","email":"nik@nikgraf.com"},{"name":"fxone","email":"dominicbuetow@the-produkt.de"},{"name":"sibelius","email":"sibeliusseraphini@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/buttons_4.0.0-beta2_1605641520028_0.3810492930845719"},"_hasShrinkwrap":false,"readme":"# DraftJS Buttons\n\n## Important: Include after the Editor\n\nFor the toolbar to work correctly, you must include the `<Toolbar>` component after the editor component:\n\n```jsx\n<Editor .../>\n<Toolbar />\n```\n\n\n## Using the Subscript and Superscript buttons requires a custom style map:\n\n```jsx\n<Editor\n    customStyleMap={{\n      SUBSCRIPT: { fontSize: '0.6em', verticalAlign: 'sub' },\n      SUPERSCRIPT: { fontSize: '0.6em', verticalAlign: 'super' }\n    }}\n\n/>\n<Toolbar />\n```\n","publish_time":1605641520145,"_cnpm_publish_time":1605641520145,"dist-tags":{"latest":"4.3.3"}}