title: Adding TinyMCE plugin with toolbar icon using a module package in Episerver CMS 12
body: <p>I have a custom TinyMCE plugin that add a toolbar icon to the tinymce tool bar. Plugin is configured in a file called editor_plugin.js which is placed inside my custom EpiServer module. I need this to register in tinyMCE.</p>
  <ol>
  <li>I added following code in the startup.cs file:</li>
  </ol>
  <pre><code>services.Configure&lt;TinyMceConfiguration&gt;(config =&gt;
          {
              config.Default()
                    .AddEpiserverSupport()
                   .AddExternalPlugin(&quot;qbankmodule&quot;, &quot;/QbankModule/TinyPlugin/editor_plugin.js&quot;)
                    .AppendToolbar(&quot;qbankmodule&quot;);
          });
  </code></pre>
  <p>but I am getting following error in TinyMCE toolbar area:</p>
  <pre><code>Failed to load plugin url: http://localhost:8000/EPiServer/EPiServer.Cms.TinyMce/3.1.0/ClientResources/tinymce/QbankModule/TinyPlugin/editor_plugin.js
  </code></pre>
  <p>I Have following questions:</p>
  <ol>
  <li>How can I point this to the editor_plugin.js file in the QbankModule I have it as QbankModule/TinyMCE/editor_plugin.js but now it is loading from EPiServer.Cms.TinyMce module.</li>
  <li>Instead of registering this in the startup.cs since our product it this QbankModule, we need this to be registered using Customized TinyMce Initialization module using IConfigurableModule. Any one have experience in this area how to implement that?</li>
  </ol>