tinymce.full.js
function findFirstTextNode(node) {
          var walker;

          if (node) {
            walker = new TreeWalker(node, node);

            for (node = walker.current(); node; node = walker.next()) {
              if (node.nodeType === 3) {
                return node;
              }
            }
          }
        }
function findFirstTextNode(node) {
          var walker;

          if (node) {
            walker = new TreeWalker(node, node);

            for (node = walker.current(); node; node = walker.next()) {
              if (node.nodeType === 3) {
                return node;
              }
            }
          }
        }
function findFirstTextNode ( node ) { var walker ; if ( node ) { walker = new TreeWalker ( node , node ) ; for ( node = walker . current ( ) ; node ; node = walker . next ( ) ) { if ( node . nodeType === 3 ) { return node ; } } } }
Finds the first text node in the specified node
Finds the first text node in the specified node