tinymce.init({ selector: 'textarea', setup: function(editor) { editor.on('init', function(e) { console.log('The Editor has initialized.'); }); } }); COPY CODE