title: AutoFocus - Blazor - TinyMCE
body: <p>I am using the Blazor version of TinyMCE and I wish to set Autofocus.</p>
  <p>When I understand the documentation then I should set &quot;The value of an editor instance id&quot;.</p>
  <pre><code>&lt;Editor Id=&quot;txtEditor&quot;
      @bind-Value=&quot;content&quot;
      JsConfSrc=&quot;sample&quot;
      ApiKey=&quot;empty&quot; /&gt;
  </code></pre>
  <p>and my Javascript as follow:</p>
  <pre><code>window.sample = {
  height: '100%',
  menubar: false,
  selector: 'textarea',
  **auto_focus: 'txtEditor',**
  plugins: [
      'advlist autolink lists link image charmap print preview anchor',
      'searchreplace visualblocks code fullscreen',
      'insertdatetime media table paste imagetools wordcount'
  ],
  toolbar: [{ name: 'history', items: ['undo', 'redo'] },
  { name: 'styles', items: ['styleselect'] },
  { name: 'other', items: ['table', 'editimage', 'link', 'image', 'insertdatetime'] },
  { name: 'formatting', items: ['bold', 'italic'] },
  { name: 'lists', items: ['numlist', 'bullist'] },
  { name: 'alignment', items: ['alignleft', 'aligncenter', 'alignright', 'alignjustify'] },
  { name: 'indentation', items: ['outdent', 'indent'] },
  { name: 'last', items: ['fullscreen'] }
  ],
  branding: false,
  elementpath: false
  }
  </code></pre>
  <p>Unfortunately it does not auto focus. Could you kindly assist?</p>
  <p>Regards,</p>
  <p>Chris</p>