|
|
@ -152,7 +152,9 @@ class QuillController extends ChangeNotifier { |
|
|
|
} else if (indent.value == 1 && !isIncrease) { |
|
|
|
} else if (indent.value == 1 && !isIncrease) { |
|
|
|
formatAttribute = Attribute.clone(Attribute.indentL1, null); |
|
|
|
formatAttribute = Attribute.clone(Attribute.indentL1, null); |
|
|
|
} else if (isIncrease) { |
|
|
|
} else if (isIncrease) { |
|
|
|
|
|
|
|
if (indent.value < 5) { |
|
|
|
formatAttribute = Attribute.getIndentLevel(indent.value + 1); |
|
|
|
formatAttribute = Attribute.getIndentLevel(indent.value + 1); |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
formatAttribute = Attribute.getIndentLevel(indent.value - 1); |
|
|
|
formatAttribute = Attribute.getIndentLevel(indent.value - 1); |
|
|
|
} |
|
|
|
} |
|
|
|