{"name":"@draft-js-plugins/buttons","version":"4.0.0-beta1","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","prepublish":"yarn build"},"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-beta1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-bqbU/tiq12mX/Zm6O8JGKLrv1N2kHluXOyGYGH9KyB8FvcuphyuJYUVccUcvshvDE8+drouYuyaMY2SfB/r4xA==","shasum":"ae78563fb0391f6706e4548a06967216aa923a91","tarball":"http://registry-npm.ywwl.com/@draft-js-plugins/buttons/download/@draft-js-plugins/buttons-4.0.0-beta1.tgz","fileCount":27,"unpackedSize":32011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfs8J5CRA9TVsSAnZWagAAbUMP/2ATkQIIhp6+jhqIdGpT\nPb3gGwUhfA7CP8bQvpOuoM9JvUwQr7hBFG//cBBZ18XL1K5S4iLmpmEZFQck\nV2aSnqyosXjnYkgw1F20EICf5eZ2El2a9xHn8uWlCQXzcuKqBcxDe+Px6Q2U\nulF8jmcwXUBU+fEgcTXmPXt71LKMon5CW9BYCPSAoPJs48HyuKpegfW1q4sb\nbliDogWM/oAolsW4Qb/Gllwx24NnsEmE44U+lAh/2bP9V/Ff1wpoyZ5qRaNy\nxdEBsBZ/i1DCjiLWDgj3Uav5Fkyq9w1HQJtS7e7kq25d+Gcls1EQ4fH+tfTg\nyJ6CXrL6D+ihIJbpuM3KOonYwp73nYdF4p6jrHoY4sTm8w9fr+b8WWz5dalN\n6S5mwO6hI4z9e1XFhXDaDMwK7Yv7/tjpUVaB4KYY6mFunz98f9Ixz5noOy/D\nUikDWSCaY7Q037nJDjdCEDub9X53eIyltcxXkP+BOu0KFfFxoi7g9x7mFs0E\nrQhNJuZVyXA5IymZNytSiAxp5d36ASxa8fN3vJdc18XDn7Se5wq+BBHHyoBV\nKRQMSzxbAftYeKzsEJzKyuV65CCQgz0oJgTq8kIRDFnd8hJlLqdGL30ZYWvF\nZhJF1XP97t1Jdi2D7sBkZiF/y02xsB2SRvzMxo8j7ju86soF8PeDdkWrWuzz\nuP2C\r\n=cLC6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKEd0zAcloaRlbTODOdbGWFPEF6HPP7AamiKIYKu1jqwIgdlf1wTeAqewswWPH8vCi4Mhz7IEpQfVT9g+IF7digyY="}],"size":5324,"noattachment":false,"key":"/@draft-js-plugins/buttons/-/@draft-js-plugins/buttons-4.0.0-beta1.tgz"},"_npmUser":{"name":"sibelius","email":"sibeliusseraphini@gmail.com"},"directories":{},"maintainers":[{"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-beta1_1605616248963_0.4168312376734409"},"_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":1605616249097,"_cnpm_publish_time":1605616249097,"dist-tags":{"latest":"4.3.3"}}