Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

[Draftail fix] Pass field values through widget.format_value() #56

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

kaedroho
Copy link
Collaborator

@kaedroho kaedroho commented Nov 19, 2018

Fixes #51 and #48

This allows the code within Wagtail's Draftail widget that converts the internal HTML format into JSON to run.

https://github.com/wagtail/wagtail/blob/72bc5fff6f6d12daf1dc8dc630a3159dafd30e5b/wagtail/admin/rich_text/editors/draftail/__init__.py#L51-L59

@kaedroho kaedroho changed the title Pass field values through widget.format_value() [Draftail fix] Pass field values through widget.format_value() Nov 19, 2018
This was referenced Nov 19, 2018
@kaedroho kaedroho merged commit 6e52ca7 into master Nov 20, 2018
@kaedroho kaedroho deleted the draftail-fix branch November 20, 2018 10:07
@kaedroho kaedroho mentioned this pull request Dec 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant