src/modules/inactive/rangy-commands.js
function isEditable(node, options) {
        // This is slightly a lie, because we're excluding non-HTML elements with
        // contentEditable attributes.
        return !options || !options.applyToEditableOnly
            || ( (isEditableElement(node) || isEditableElement(node.parentNode)) && !isEditingHost(node) );
    }
function isEditable(node, options) {
        // This is slightly a lie, because we're excluding non-HTML elements with
        // contentEditable attributes.
        return !options || !options.applyToEditableOnly
            || ( (isEditableElement(node) || isEditableElement(node.parentNode)) && !isEditingHost(node) );
    }
function isEditable ( node , options ) { // This is slightly a lie, because we're excluding non-HTML elements with // contentEditable attributes. return ! options || ! options . applyToEditableOnly || ( ( isEditableElement ( node ) || isEditableElement ( node . parentNode ) ) && ! isEditingHost ( node ) ) ; }
"A node is editable if it is not an editing host and is or is the child of an Element whose isContentEditable property returns true."
A node is editable if it is not an editing host and is or is the child of an Element whose isContentEditable property returns true .