Fix multiline styling stuck/not working properly

pull/1782/head
Wrth1 1 year ago
parent 142275fba4
commit b58c0ecb1e
  1. 2
      lib/src/models/documents/nodes/line.dart

@ -362,7 +362,7 @@ base class Line extends QuillContainer<Leaf?> {
void handle(Style style) {
for (final attr in result.values) {
if (!style.containsKey(attr.key) ||
(style.attributes[attr.key] != attr.value)) {
(style.attributes[attr.key]?.value != attr.value)) {
excluded.add(attr);
}
}

Loading…
Cancel
Save