-```html
-<script>
- // TinyMCE WYSIWYG editor events
- window.addEventListener('editor-tinymce::pre-init', event => console.log('TINYMCE-PRE_INIT', event.detail));
- window.addEventListener('editor-tinymce::setup', event => console.log('TINYMCE-SETUP', event.detail));
-
- // CodeMirror / Markdown-it Markdown editor events
- window.addEventListener('editor-markdown-cm::pre-init', event => console.log('MARKDOWN-CODEMIRROR-PRE_INIT', event.detail));
- window.addEventListener('editor-markdown::setup', event => console.log('MARKDOWN-EDITOR-SETUP', event.detail));
-
- // Diagrams.net configure event
- // Reference: https://www.diagrams.net/doc/faq/configure-diagram-editor
- // If using a custom diagrams.net instance, via the `DRAWIO` option, you will need to ensure
- // this your URL has the `configure=1` query parameter.
- window.addEventListener('editor-drawio::configure', event => console.log('DIAGRAMS.NET-CONFIGURE', event.detail));
-</script>
-```
+To allow customization of the JavaScript libraries & components used, BookStack emits events as part of their lifecycle
+so that you can define listeners to hook into these events. These can often be used by adding scripts to the
+[custom HTML head content option](#custom-html-head-option).
+
+You can find details and a listing of all events [within the project repo here](https://github.com/BookStackApp/BookStack/blob/development/dev/docs/javascript-public-events.md).