In some editing commands, Node::rendererIsEditable() does not return the correct value because renderer might be gone during the command. In that case, we have to recalculate style. Node::isContentEditable() will work for you.
*** This bug has been marked as a duplicate of bug 57244 ***