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

This commit is contained in:
Lucas.Xu 2023-09-04 13:35:11 +08:00 committed by GitHub
parent 7d6fa0b159
commit af0ae2e375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,