How do I get a javascript library to work inside the CKEditor module?
<p>My content administrators want to be able to toggle back and forth between bootstrap nav-pills inside of the CKEditor instance. Out of the box, CKEditor doesn't seem to allow javascript to function in the editor. An example is below - I need to be able to click on the different pills to edit the associated content:</p>

<p><a href="https://i.stack.imgur.com/lCSef.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lCSef.jpg" alt="enter image description here"></a></p>

<p>I have found an <a href="https://stackoverflow.com/questions/24048401/how-do-i-allow-the-tabs-of-a-bootstrap-tab-to-work-within-the-ckeditor-editor">associated question</a> that seem to answer this issue but I cannot get it to work in Drupal - I don't know how to implement the code. I would add a comment to that question but I do not have sufficient reputation points.</p>