tinymce.full.js
function (elm, name, value) {
        elm = this.$$(elm).css(name, value);

        if (this.settings.update_styles) {
          updateInternalStyleAttr(this, elm);
        }
      }
function (elm, name, value) {
        elm = this.$$(elm).css(name, value);

        if (this.settings.update_styles) {
          updateInternalStyleAttr(this, elm);
        }
      }
function ( elm , name , value ) { elm = this . $$ ( elm ) . css ( name , value ) ; if ( this . settings . update_styles ) { updateInternalStyleAttr ( this , elm ) ; } }
Sets the CSS style value on a HTML element. The name can be a camelcase string
or the CSS style name like background-color.

@method setStyle
@param {String/Element/Array} elm HTML element/Array of elements to set CSS style value on.
@param {String} name Name of the style value to set.
@param {String} value Value to set on the style.
@example
// Sets a style value on all paragraphs in the currently active editor
tinymce.activeEditor.dom.setStyle(tinymce.activeEditor.dom.select('p'), 'background-color', 'red');

// Sets a style value to an element by id in the current document
tinymce.DOM.setStyle('mydiv', 'background-color', 'red');
Sets the CSS style value on a HTML element . The name can be a camelcase string or the CSS style name like background - color .