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

Forward style_map configuration to exporter #37

Open loicteixeira opened 7 years ago

loicteixeira commented 7 years ago

It is possible to configure style_map with draftjs_exporter but wagtaildraftail doesn't forward it (it only pass entity_decorators, composite_decorators and block_map through).

thibaudcolas commented 7 years ago

This is because the editor doesn't support custom styles at the moment, so there is no point in having this configurable here.

We'll revisit this after https://github.com/springload/draftail/issues/36.