Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

separate feature flag for fonts because its going to be released before assets maanger

Oleg Isonen355813c0549c
diff --git a/apps/designer/app/designer/features/style-panel/shared/configs.ts b/apps/designer/app/designer/features/style-panel/shared/configs.ts
index 7364b1717f..71a37a197e 100644
--- a/apps/designer/app/designer/features/style-panel/shared/configs.ts
+++ b/apps/designer/app/designer/features/style-panel/shared/configs.ts
@@ -92,7 +92,7 @@ const getControl = (property: StyleProperty): Control => {
return "Empty";
}
case "fontFamily": {
- return isFeatureEnabled("assets") ? "FontFamily" : "Text";
+ return isFeatureEnabled("fonts") ? "FontFamily" : "Text";
}
}
diff --git a/apps/designer/app/shared/feature-flags/flags.ts b/apps/designer/app/shared/feature-flags/flags.ts
index 56e8f1d294..12dd85ea82 100644
--- a/apps/designer/app/shared/feature-flags/flags.ts
+++ b/apps/designer/app/shared/feature-flags/flags.ts
@@ -1,2 +1,3 @@
export const assets = false;
+export const fonts = false;
export const example = false;