visitText method

  1. @override
StringSink visitText(
  1. QuillText text, [
  2. StringSink? output
])

Implementation

@override
StringSink visitText(QuillText text, [StringSink? output]) {
  final out = output ??= StringBuffer();

  _handleAttribute(
    _textAttrsHandlers,
    text,
    output,
    () => customContentHandler(text, out),
    sortedAttrsBySpan: true,
  );
  return out;
}