function _setupKeyEvents() {
	    var _this = this;

	    this.inner.setAttribute('tabindex', 0);
	    this.inner.addEventListener('keyup', function (e) {
	      if (e.target !== _this.inner) {
	        return;
	      }

	      switch (e.keyCode) {
	        case 13:
	          _this.mediator.trigger("block:create", 'Text', null, _this.el);
	          break;
	        case 8:
	          _this.onDeleteClick.call(_this, new CustomEvent('click'));
	          return;
	      }
	    });
	  }
/**
	    Allow this block to be managed with the keyboard
	  **/
Allow this block to be managed with the keyboard
Allow this block to be managed with the keyboard
function _setupKeyEvents() {
	    var _this = this;
	    this.inner.setAttribute('tabindex', 0);
	    this.inner.addEventListener('keyup', function (e) {
	      if (e.target !== _this.inner) {
	        return;
	      }
	      switch (e.keyCode) {
	        case 13:
	          _this.mediator.trigger("block:create", 'Text', null, _this.el);
	          break;
	        case 8:
	          _this.onDeleteClick.call(_this, new CustomEvent('click'));
	          return;
	      }
	    });
	  }
function _setupKeyEvents ( ) { var _this = this ; this . inner . setAttribute ( 'tabindex' , 0 ) ; this . inner . addEventListener ( 'keyup' , function ( e ) { if ( e . target !== _this . inner ) { return ; } switch ( e . keyCode ) { case 13 : _this . mediator . trigger ( "block:create" , 'Text' , null , _this . el ) ; break ; case 8 : _this . onDeleteClick . call ( _this , new CustomEvent ( 'click' ) ) ; return ; } } ) ; }
Allow this block to be managed with the keyboard
Allow this block to be managed with the keyboard