tinymce.full.js
function trimLeadingLineBreaks(node) {
          do {
            if (node.nodeType === 3) {
              node.nodeValue = node.nodeValue.replace(/^[\r\n]+/, '');
            }

            node = node.firstChild;
          } while (node);
        }
function trimLeadingLineBreaks(node) {
          do {
            if (node.nodeType === 3) {
              node.nodeValue = node.nodeValue.replace(/^[\r\n]+/, '');
            }

            node = node.firstChild;
          } while (node);
        }
function trimLeadingLineBreaks ( node ) { do { if ( node . nodeType === 3 ) { node . nodeValue = node . nodeValue . replace ( / ^[\r\n]+ / , '' ) ; } node = node . firstChild ; } while ( node ) ; }
Trims any linebreaks at the beginning of node user for example when pressing enter in a PRE element
Trims any linebreaks at the beginning of node user for example when pressing enter in a PRE element