TF-738 Support paragraph for rich text composer web

This commit is contained in:
dab246
2022-07-26 16:32:28 +07:00
committed by Dat H. Pham
parent 5bf39c83b1
commit a71206e979
@@ -12,6 +12,7 @@ enum RichTextStyleType {
strikeThrough, strikeThrough,
textColor, textColor,
textBackgroundColor, textBackgroundColor,
paragraph,
codeView; codeView;
String get commandAction { String get commandAction {
@@ -88,6 +89,10 @@ enum RichTextStyleType {
return AppLocalizations.of(context).codeView; return AppLocalizations.of(context).codeView;
case headerStyle: case headerStyle:
return AppLocalizations.of(context).headerStyle; return AppLocalizations.of(context).headerStyle;
case fontName:
return AppLocalizations.of(context).fontFamily;
case paragraph:
return AppLocalizations.of(context).paragraph;
default: default:
return ''; return '';
} }