Home / Companies / Webflow / Blog / Post Details
Content Deep Dive

Level up your Designer Extension with build mode updates

Blog post from Webflow

Post Details
Company
Date Published
Author
Raymond Camden
Word Count
391
Language
English
Hacker News Points
-
Summary

Webflow Designer Extensions have been updated to offer developers enhanced capabilities for customizing and extending the functionality of the Webflow Designer platform, particularly with improved tools for managing user roles and permissions. Previously, developers could check if certain actions were available based on user roles using a boolean check, but recent updates have introduced a more nuanced approach. New features include the ability to determine the current user mode with the getCurrentMode function, allowing developers to tailor user interfaces according to whether a user is in design or build mode. Additionally, developers can now more easily check for specific modes and respond to changes in user roles, with the option to receive the new mode in event objects. These updates require developers to opt-in by adjusting their weblow.json files to utilize the expanded app modes features, with the flexibility to disable these features if desired.