tinymce.full.js
function styleTDTH(elm, name, value) {
            if (elm.tagName === "TD" || elm.tagName === "TH") {
              dom.setStyle(elm, name, value);
            } else {
              if (elm.children) {
                for (var i = 0; i < elm.children.length; i++) {
                  styleTDTH(elm.children[i], name, value);
                }
              }
            }
          }
function styleTDTH(elm, name, value) {
            if (elm.tagName === "TD" || elm.tagName === "TH") {
              dom.setStyle(elm, name, value);
            } else {
              if (elm.children) {
                for (var i = 0; i < elm.children.length; i++) {
                  styleTDTH(elm.children[i], name, value);
                }
              }
            }
          }
function styleTDTH ( elm , name , value ) { if ( elm . tagName === "TD" || elm . tagName === "TH" ) { dom . setStyle ( elm , name , value ) ; } else { if ( elm . children ) { for ( var i = 0 ; i < elm . children . length ; i ++ ) { styleTDTH ( elm . children [ i ] , name , value ) ; } } } }
Explore the layers of the table till we find the first layer of tds or ths
Explore the layers of the table till we find the first layer of tds or ths