We’re excited to introduce the new version of Webflow’s Designer APIs, featuring enhanced functionality and more efficient methods for interacting with the Designer. To ensure your app remains compatible, please follow the simple steps provided for updating your app’s configuration and codebase. Check the details below.
We have removed the .save() method from many of our objects. Rather than staging “local changes” and explicitly synchronizing via element.save(), we’re now making changes as they’re invoked.
Through the introduction of the Element Presets Object, the API now allows Apps to insert native Elements onto the canvas.
We’re introducing new helper methods that make it easier to insert elements into a hierarchy
element.append() element.prepend() element.before()element.after()We’ve removed element-specific methods for adding an element to a canvas including
createDOM()createString()createHeading()This API allows a more streamlined way to edit Component Objects, by accessing the root element of a Component Object.
We’ve made minor changes to clarify Designer API functionality
null instead of undefinedid: {component: '63486e4622e33733b9002e9c', element: 'cafe0045-d304-79d9-8f68-af3adaed06e8'}webflow.json to include the new apiVersion parameter.Remove any references to .save()
Adjust logic to access Element IDs
Adjust logic for element insertion