May be me oversimplifying as i have not tested this further, just done a quick integration but
- add
<script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.2.2/tinymce.min.js"></script>
to your head/ layout page
- add
<script>
document.addEventListener('DOMContentLoaded', function() {
tinymce.init({
selector: 'textarea', // Use the appropriate selector for your text area
// Other TinyMCE configuration options
});
});
</script>
to the foot of your page/ content page
Tiny runs in a textarea
Parameters are passed within the init() function of the code