Support custom rendering of embedded forms in the rich text AST.
We now provide a Formalist::RichText::Rendering::EmbeddedFormRenderer, which expects to be initialised with a container of objects registered based on the names of the embedded form types. These objects will be resolved from the container and called with the data of any matching form, and are expected to return the rendered HTML for that form.
Support custom rendering of embedded forms in the rich text AST.
We now provide a
Formalist::RichText::Rendering::EmbeddedFormRenderer
, which expects to be initialised with a container of objects registered based on the names of the embedded form types. These objects will be resolved from the container and called with the data of any matching form, and are expected to return the rendered HTML for that form.