(elem: any)
| 38 | }; |
| 39 | |
| 40 | const isAnnotation = (elem: any): boolean => SugarNode.isElement(elem) && Class.has(elem, Markings.annotation()); |
| 41 | |
| 42 | const isBogusElement = (elem: SugarElement<Node>, root: SugarElement<Node>) => |
| 43 | Attribute.has(elem, 'data-mce-bogus') || SelectorExists.ancestor(elem, '[data-mce-bogus="all"]', isRoot(root)); |