tinymce.full.js
function (data) {
        var self = this;

        for (var name in data) {
          self.find('#' + name).value(data[name]);
        }

        return self;
      }
function (data) {
        var self = this;

        for (var name in data) {
          self.find('#' + name).value(data[name]);
        }

        return self;
      }
function ( data ) { var self = this ; for ( var name in data ) { self . find ( '#' + name ) . value ( data [ name ] ) ; } return self ; }
Populates the form fields from the specified JSON data object.

Control items in the form that matches the data will have it's value set.

@method fromJSON
@param {Object} data JSON data object to set control values by.
@return {tinymce.ui.Container} Current form instance.
Populates the form fields from the specified JSON data object .