parseDelta method
- @Deprecated('RichTextParser.parseDelta is not longer supported, and ' 'it will be removed in future releases. ' 'Use DocumentParser.parseDelta instead')
Parses a Quill Delta into a structured document.
returnNoSealedCopies
indicates if will need to return a deep copy of the elements to avoid return a Paragraphs that cannot add more elementsignoreAllNewLines
indicates that all the new lines with no block-level target to apply will be ignored
Implementation
@Deprecated('RichTextParser.parseDelta is not longer supported, and '
'it will be removed in future releases. '
'Use DocumentParser.parseDelta instead')
Document? parseDelta(
fq.Delta delta, {
bool returnNoSealedCopies = false,
bool ignoreAllNewLines = false,
}) {
return DocumentParser(mergerBuilder: mergerBuilder).parseDelta(
delta: delta,
returnNoSealedCopies: returnNoSealedCopies,
ignoreAllNewLines: ignoreAllNewLines,
);
}