index.js
function isInActiveContentEditable(node) {
        while (node) {
            if ( node.getAttribute &&
                 node.getAttribute("contenteditable") &&
                 node.getAttribute("contenteditable").toUpperCase() === "TRUE" ) {
                return true
            }

            node = node.parentNode
        }

        return false
    }
function isInActiveContentEditable(node) {
        while (node) {
            if ( node.getAttribute &&
                 node.getAttribute("contenteditable") &&
                 node.getAttribute("contenteditable").toUpperCase() === "TRUE" ) {
                return true
            }

            node = node.parentNode
        }

        return false
    }
function isInActiveContentEditable ( node ) { while ( node ) { if ( node . getAttribute && node . getAttribute ( "contenteditable" ) && node . getAttribute ( "contenteditable" ) . toUpperCase ( ) === "TRUE" ) { return true } node = node . parentNode } return false }
Returns true if the node is or is inside an active contenteditable
Returns true if the node is or is inside an active contenteditable