Open bhallstein opened 2 years ago
Idea is to instead of defining blocks def objects, decorate templates with attributes that map JSX elements to editable fields, generating an otter block and enabling the template to be autofilled from otter post data.
e.g. Perhaps something like:
<div> <LeadingIcon otter-prop-icon="leading_icon" icon={leading_icon}></LeadingIcon> <a href="..." otter-prop-href="href" otter-content="btn_text">{btn_text}</a> </div>
@pjrundle Is this still relevant, do you think?
Idea is to instead of defining blocks def objects, decorate templates with attributes that map JSX elements to editable fields, generating an otter block and enabling the template to be autofilled from otter post data.
e.g. Perhaps something like: