isTopLevel static method
Implementation
static bool isTopLevel(String tag) {
return tag == h1 ||
tag == h2 ||
tag == h3 ||
tag == table ||
tag == checkbox ||
tag == paragraph ||
tag == div ||
tag == blockQuote;
}