I’d love to achieve something similar to what Webflow’s blog does with the inline callout. Similar to a blog post, I also have multiple steps that can be included in a rich text.
Right now I have 6 different wrappers for each step, but I know this can be optimized. I would like to have only one rich text field for the Execution section.
I could think of two ways to achieve something similar to Webflow. Split the Execution steps into 2 large chunks (first 3 steps, rest of the steps; much similar to the Webflow’s code) or add an embed element with code for the whole inline callout. I would not go for the custom code element for now, cause it just adds some complexity to the current version.
There is an easier solution, using Finsweet’s Powerful Rich Text tool
Create the callouts separately, outside of the rich text
Add a custom attribute to identify them
in your Rich text, you identify them with {{ my attr name }}
They are inserted at load time
You can also store components on other pages and share them, e.g. share CTA’s directly from your style guide page, or reference specific “related item” cards directly from collection pages.