Yes, it is possible to embed completely unique HTML code on each dynamic collection item page in Webflow using a plain-text field and the "Embed" component in a dynamic list.
To achieve this, follow these steps:
1. Create a collection: First, create a dynamic collection in Webflow by going to the CMS section and clicking on "Add Collection". Set up the necessary fields for your collection.
2. Add a plain-text field: In your collection settings, include a plain-text field where you can input your unique HTML code for each collection item. This field will allow you to enter custom HTML markup for embedding.
3. Create a dynamic list: Now, create a dynamic list on your template page where you want to display the collection items. Drag and drop a "Collection List" component onto your page.
4. Connect the dynamic list: In the settings panel for the dynamic list, select the collection you created in Step 1.
5. Add an "Embed" component: Inside the dynamic list item, add an "Embed" component from the elements panel. You can find it under the "Components" section.
6. Connect the "Embed" component: With the "Embed" component selected, go to the settings panel and click on the "Bind to Collection" button. Choose the plain-text field you created in Step 2 as the data source.
7. Customize the embedded code: Now, you can customize the HTML code within the "Embed" component. Double-click on the "Embed" component to reveal the code editor. Here, you can insert the dynamic content from your collection using Webflow CMS tags, which are available in the "Add Field" dropdown.
8. Publish and test: Save your changes, publish your site, and navigate to the dynamic collection item pages. You should see each item displaying its unique embedded HTML code based on the content entered in the plain-text field for that collection item.
By using the "Embed" component within a dynamic list, you can easily create and manage unique HTML code for each collection item in Webflow. Remember to follow best practices for HTML markup to ensure the code executes correctly and doesn't conflict with your site's styling or functionality.