public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function() {
      var value = this.getValue();
      this.editorContainer.style.display = '';
      this.formattedContainer.style.display = 'none';
   
      if(!lang.isUndefined(value)) {
         this.editorField.setValue(value);   
      }
      
      // Set focus in the element !
      this.editorField.focus();
   
      // Select the content
      if(this.editorField.el && lang.isFunction(this.editorField.el.setSelectionRange) && (!!value && !!value.length)) {
         this.editorField.el.setSelectionRange(0,value.length);
      }
      
   }
function() {
      var value = this.getValue();
      this.editorContainer.style.display = '';
      this.formattedContainer.style.display = 'none';
   
      if(!lang.isUndefined(value)) {
         this.editorField.setValue(value);   
      }
      
      // Set focus in the element !
      this.editorField.focus();
   
      // Select the content
      if(this.editorField.el && lang.isFunction(this.editorField.el.setSelectionRange) && (!!value && !!value.length)) {
         this.editorField.el.setSelectionRange(0,value.length);
      }
      
   }
function ( ) { var value = this . getValue ( ) ; this . editorContainer . style . display = '' ; this . formattedContainer . style . display = 'none' ; if ( ! lang . isUndefined ( value ) ) { this . editorField . setValue ( value ) ; } // Set focus in the element ! this . editorField . focus ( ) ; // Select the content if ( this . editorField . el && lang . isFunction ( this . editorField . el . setSelectionRange ) && ( ! ! value && ! ! value . length ) ) { this . editorField . el . setSelectionRange ( 0 , value . length ) ; } }
Display the editor
Display the editor