title: Need help configuring TinyMCE in Laravel Voyager
body: <p>I'd like to tweak the default configuration of TinyMCE in Laravel Voyager. In particular, I want to remove the option for creating H1 tags in body content, since semantically there should only be one H1 on the page and it's stored in a different field.</p>
  
  <p>The Voyager instructions are pretty straightforward:</p>
  
  <p><a href="https://voyager-docs.devdojo.com/customization/tinymce" rel="nofollow noreferrer">https://voyager-docs.devdojo.com/customization/tinymce</a></p>
  
  <p>So, I:
  1. created a new file in resources/js called voyager_additional.js,
  2. added it to my Mix configuration (.js('resources/js/voyager_additional.js', 'public/js'),
  3. added the two functions specified in the Voyager docs,</p>
  
  <pre><code>function tinymce_init_callback(editor)
  {
      console.log('Init!');
  }
  
  function tinymce_setup_callback(editor)
  {
      console.log('Setup!');
  }
  </code></pre>
  
  <ol start="4">
  <li>put console.log messages in the functions to demonstrate that they are being called, and</li>
  <li>added 'js/voyager_additional.js' to the additional_js array in config/voyager.php.</li>
  </ol>
  
  <p>The additional JavaScript file is being created in the right place, and my Voyager admin pages can find it, but something's not right because the console.log messages never appear (none of the TinyMCE code I've put in the functions seems to have an effect, either). There's clearly a little more to it than the documentation indicates. What am I missing?</p>