From a71206e979d77134774eccf2a6bae913fdfeb2b3 Mon Sep 17 00:00:00 2001 From: dab246 Date: Tue, 26 Jul 2022 16:32:28 +0700 Subject: [PATCH] TF-738 Support paragraph for rich text composer web --- .../composer/presentation/model/rich_text_style_type.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/features/composer/presentation/model/rich_text_style_type.dart b/lib/features/composer/presentation/model/rich_text_style_type.dart index 297b820a9..676b12127 100644 --- a/lib/features/composer/presentation/model/rich_text_style_type.dart +++ b/lib/features/composer/presentation/model/rich_text_style_type.dart @@ -12,6 +12,7 @@ enum RichTextStyleType { strikeThrough, textColor, textBackgroundColor, + paragraph, codeView; String get commandAction { @@ -88,6 +89,10 @@ enum RichTextStyleType { return AppLocalizations.of(context).codeView; case headerStyle: return AppLocalizations.of(context).headerStyle; + case fontName: + return AppLocalizations.of(context).fontFamily; + case paragraph: + return AppLocalizations.of(context).paragraph; default: return ''; }