Closed thibaudcolas closed 3 years ago
Warnings | |
---|---|
:warning: | This pull request updates the library. Should the documentation be updated as well? |
Messages | |
---|---|
:book: | What labels should we add to this PR? |
Generated by :no_entry_sign: dangerJS against 080a64a7c4e967252769df53ec6a8db807308cbf
Warnings | |
---|---|
:warning: | This pull request updates the library. Should the documentation be updated as well? |
Generated by :no_entry_sign: dangerJS against c39bf8adf4a64bbe6de6b0bdb815c0f0f937bb2d
This PR changes two things:
label
oricon
are now hidden from the toolbar. Those two props have always been optional, but having neither really doesn’t achieve anything useful for users. This also makes it easier to implement custom controls (e.g. color picker for inline styles, or text styles drawer).label
tonull
(thus overriding the built-in labels).I also added a demo of building a text styles drawer as part of the "controls" doc, which depends on those changes.
npm run test:coverage
)npm run lint
)Thanks for contributing to Draftail!