Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

feat: enable heading in the table plugin (#3325)

Lucas.Xuaf0ae2e375ef
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<AppFlowyEditorPage> {
paragraphItem..isActive = onlyShowInSingleTextTypeSelectionAndExcludeTable,
...(headingItems
..forEach(
- (e) => e.isActive = onlyShowInSingleTextTypeSelectionAndExcludeTable,
+ (e) => e.isActive = onlyShowInSingleSelectionAndTextType,
)),
...markdownFormatItems,
quoteItem..isActive = onlyShowInSingleTextTypeSelectionAndExcludeTable,