function onFormSubmit(shouldValidate) {
	    // if undefined or null or anything other than false - treat as true
	    shouldValidate = shouldValidate === false ? false : true;

	    utils.log("Handling form submission for Editor " + this.ID);

	    this.mediator.trigger('errors:reset');
	    this.store.reset();

	    this.validateBlocks(shouldValidate);
	    this.blockManager.validateBlockTypesExist(shouldValidate);

	    this.mediator.trigger('errors:render');
	    this.el.value = this.store.toString();

	    return this.errorHandler.errors.length;
	  }
/*
	   * Handle a form submission of this Editor instance.
	   * Validate all of our blocks, and serialise all data onto the JSON objects
	   */
Handle a form submission of this Editor instance.
Validate all of our blocks, and serialise all data onto the JSON objects
Handle a form submission of this Editor instance . Validate all of our blocks and serialise all data onto the JSON objects
function onFormSubmit(shouldValidate) {
	    shouldValidate = shouldValidate === false ? false : true;
	    utils.log("Handling form submission for Editor " + this.ID);
	    this.mediator.trigger('errors:reset');
	    this.store.reset();
	    this.validateBlocks(shouldValidate);
	    this.blockManager.validateBlockTypesExist(shouldValidate);
	    this.mediator.trigger('errors:render');
	    this.el.value = this.store.toString();
	    return this.errorHandler.errors.length;
	  }
function onFormSubmit ( shouldValidate ) { shouldValidate = shouldValidate === false ? false : true ; utils . log ( "Handling form submission for Editor " + this . ID ) ; this . mediator . trigger ( 'errors:reset' ) ; this . store . reset ( ) ; this . validateBlocks ( shouldValidate ) ; this . blockManager . validateBlockTypesExist ( shouldValidate ) ; this . mediator . trigger ( 'errors:render' ) ; this . el . value = this . store . toString ( ) ; return this . errorHandler . errors . length ; }
Handle a form submission of this Editor instance.
Handle a form submission of this Editor instance .
// if undefined or null or anything other than false - treat as true