From af0ae2e375ef6d74fa5d1818830c2fd22b3d0c2d Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Mon, 4 Sep 2023 13:35:11 +0800 Subject: [PATCH] feat: enable heading in the table plugin (#3325) --- .../lib/plugins/document/presentation/editor_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart index bf1a14b33c..6b97e6608b 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart @@ -61,7 +61,7 @@ class _AppFlowyEditorPageState extends State { paragraphItem..isActive = onlyShowInSingleTextTypeSelectionAndExcludeTable, ...(headingItems ..forEach( - (e) => e.isActive = onlyShowInSingleTextTypeSelectionAndExcludeTable, + (e) => e.isActive = onlyShowInSingleSelectionAndTextType, )), ...markdownFormatItems, quoteItem..isActive = onlyShowInSingleTextTypeSelectionAndExcludeTable,