-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change block/field default to None #32
Comments
@loicteixeira I've done the work in Draftail (#40) and the exporter (#36) to support this, and updated those two here – will leave the Django changes to you if you have the time. |
I have re-added a default value of Note that nothing needs to happen for the exporter, it will handle |
Sorry I didn't get time to look into this before my break. Basically, the block use a custom form field to handle the Now that FWIW, it looks like |
Currently, the default value is an empty dict which is basically an invalid content state. Therefore, the editor should return
None
which clearly state the lack of content.springload/draftail
dependency for this package.springload/draftjs_exporter
dependency for this package.The text was updated successfully, but these errors were encountered: