const isPaddingContents = function (elm) { return Node.isText(elm) ? Text.get(elm) === '\u00a0' : ElementType.isBr(elm); };
const checkLast = function (last) { return !Attr.has(last, 'data-mce-bogus') && Node.name(last) !== 'br' && !(Node.isText(last) && Text.get(last).length === 0); };
const isZeroWidth = (elem): boolean => { // TODO: I believe this is the same cursor used in tinymce (Unicode.zeroWidth)? return Node.isText(elem) && Text.get(elem) === Unicode.zeroWidth(); };