springload / wagtaildraftail

🐦📝🍸 Draft.js editor for Wagtail, built upon Draftail and draftjs_exporter
https://pypi.python.org/pypi/wagtaildraftail
MIT License
24 stars 3 forks source link

Configurable Custom Components #35

Closed loicteixeira closed 7 years ago

loicteixeira commented 7 years ago

Ref #9.

Inspired from netlify-cms, both for the registry and for exposing React functions.

It could use a bit more documentation on how to create an entity source, but I wonder if this should be a link to springload/draftail documentation (which does not exists FWIW) rather that on this project.

Also, previous discussion mentioned also publishing wagtaildraftail as a npm package for users who have their own build step and want to go deeper. However, the only thing that felt missing was the ModalSource which is a wrapper around Wagtail's jQuery chooser modals. Sure it would also be cool to have the registry available as a normal function, but it's available globally now so not essential. In other words, I think it would be a nice to have, not a must have.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+1.4%) to 61.053% when pulling 81ede5764ad63bacfa47585b663f9c073ddb9947 on feature/configurable-custom-components into 6721dd3faf27cc0f13d47d6ec101212b0ab366c7 on master.