TF-740 Implement apply order list in composer web
This commit is contained in:
@@ -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 '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user