showing disabled state on format items

This commit is contained in:
Mauro Romito
2022-12-15 00:33:28 +01:00
parent 02449544ce
commit fe6503aaa1
3 changed files with 24 additions and 15 deletions
@@ -24,10 +24,8 @@ import WysiwygComposer
struct FormatItem {
/// The type of the item
let type: FormatType
/// Whether it is active(highlighted)
let active: Bool
/// Whether it is disabled or enabled
let disabled: Bool
/// The state of the item
let state: ActionState
}
/// The types of formatting actions