blackNodesList property
This is a list that must contains only the tag name
of the all HTML Nodes (<p>
, <div>
or <h1>
) that will be
ignored and inserted as plain text
Example
Assume that you want to ignore just HTML containers. Then just need to do something like this: __
final List containerBlackList = ['div', 'section', 'article'];
final converter = HtmlToDelta(blackNodesList: containerBlackList);
final delta = converter.convert(<your_html>);
Implementation
final List<String> blackNodesList;