TF-740 Implement apply order list in composer web

This commit is contained in:
dab246
2022-07-27 12:03:47 +07:00
committed by Dat H. Pham
parent 59ce413a78
commit d6ba69424a
8 changed files with 63 additions and 11 deletions
@@ -93,7 +93,7 @@ enum HeaderStyleType {
case HeaderStyleType.h4:
case HeaderStyleType.h5:
case HeaderStyleType.h6:
return FontWeight.bold;
return FontWeight.bold;
}
}
}
@@ -12,7 +12,8 @@ enum RichTextStyleType {
strikeThrough,
textColor,
textBackgroundColor,
paragraph;
paragraph,
orderList;
String get commandAction {
switch (this) {
@@ -88,6 +89,8 @@ enum RichTextStyleType {
return AppLocalizations.of(context).fontFamily;
case paragraph:
return AppLocalizations.of(context).paragraph;
case orderList:
return AppLocalizations.of(context).orderList;
default:
return '';
}