Open maximelebreton opened 1 year ago
Hello @maximelebreton
Unfortunately for now there is no available way to customize blocks as the only prop passed is document
. I think this can possibly be done with rendering JSX but I suspect that will require changes to Document
.
I hope I have answered your question or somehow pointed you to a solution. I created this package to support an old project and haven't really been supporting it since; however I do welcome contributions and hope to have more time to improve this in the future.
PS: If you need something to use now, https://github.com/craigharman/keystone6-documentrenderer-vue may be worth checking out
Hello @talentedunicorn, and thanks for your work!
Is there a way to extend/customize a rendered block (like the original: https://github.com/keystonejs/keystone/tree/main/examples/document-field#frontend-rendering)?
Thanks!