From e1d67cc68d2ffb562e4c8689a9da6e5b8d55af0a Mon Sep 17 00:00:00 2001 From: Vipin Chaudhary Date: Wed, 19 Nov 2025 12:44:35 +0530 Subject: [PATCH] [WEB-5450] fix: enable unique ID flag for editor functionality in useEditorFlagging hook (#4788) --- apps/web/ee/hooks/use-editor-flagging.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/ee/hooks/use-editor-flagging.ts b/apps/web/ee/hooks/use-editor-flagging.ts index b3e8f24de0..1e655aee37 100644 --- a/apps/web/ee/hooks/use-editor-flagging.ts +++ b/apps/web/ee/hooks/use-editor-flagging.ts @@ -28,8 +28,7 @@ export const useEditorFlagging = (props: TEditorFlaggingHookProps): TEditorFlagg const { isNestedPagesEnabled, isCommentsEnabled } = usePageStore(storeType || EPageStoreType.WORKSPACE); const isEditorAttachmentsEnabled = useFlag(workspaceSlug, "EDITOR_ATTACHMENTS"); const isEditorCopyBlockLinkEnabled = useFlag(workspaceSlug, "EDITOR_COPY_BLOCK_LINK"); - // const isEditorUniqueIdEnabled = useFlag(workspaceSlug, "EDITOR_UNIQUE_ID"); - const isEditorUniqueIdEnabled = true; + const isEditorUniqueIdEnabled = useFlag(workspaceSlug, "EDITOR_UNIQUE_ID"); const isEditorMathematicsEnabled = useFlag(workspaceSlug, "EDITOR_MATHEMATICS"); const isExternalEmbedEnabled = useFlag(workspaceSlug, "EDITOR_EXTERNAL_EMBEDS"); // check integrations