From 8f5851e8bfbcd8ad4090442c8ea3007780dc2949 Mon Sep 17 00:00:00 2001 From: Mirone Date: Mon, 16 Jun 2025 21:28:42 +0800 Subject: [PATCH] chore: disable code block html preview (#12829) ## Summary by CodeRabbit - **Chores** - Updated the default setting for the code block HTML preview feature flag; it is now disabled by default. This change affects only experimental builds. --------- Co-authored-by: L-Sun --- packages/frontend/core/src/modules/feature-flag/constant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/core/src/modules/feature-flag/constant.ts b/packages/frontend/core/src/modules/feature-flag/constant.ts index e89a3e26c..cb557c2dc 100644 --- a/packages/frontend/core/src/modules/feature-flag/constant.ts +++ b/packages/frontend/core/src/modules/feature-flag/constant.ts @@ -280,7 +280,7 @@ export const AFFINE_FLAGS = { description: 'com.affine.settings.workspace.experimental-features.enable-code-block-html-preview.description', configurable: isCanaryBuild, - defaultState: true, + defaultState: isCanaryBuild, }, enable_adapter_panel: { category: 'affine',