brToOp method

  1. @override
List<Operation> brToOp(
  1. Element element
)
override

Converts a <br> HTML element to Delta operations.

Implementation

@override
List<Operation> brToOp(dom.Element element) {
  return [Operation.insert('\n')];
}