TF-738 Support paragraph for rich text composer web
This commit is contained in:
@@ -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 '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user