mirror of
https://github.com/ankitects/anki.git
synced 2025-12-16 08:10:59 -05:00
Add source for block level elements
This commit is contained in:
parent
1363a40273
commit
4737a99809
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ export function nodeIsElement(node: Node): node is Element {
|
||||||
return node.nodeType === Node.ELEMENT_NODE;
|
return node.nodeType === Node.ELEMENT_NODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements
|
||||||
const BLOCK_TAGS = [
|
const BLOCK_TAGS = [
|
||||||
"ADDRESS",
|
"ADDRESS",
|
||||||
"ARTICLE",
|
"ARTICLE",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue