jQuery(document).ready(function ($) {
    $(document).on('tinymce-editor-init', function (e, editor) {
        // Your code here
        tinymce.activeEditor.setContent(aignpost_generated_data.bodyContent);
    });

    $('#aign_post_title').val(aignpost_generated_data.titleContent);
});
