Your syntax for passing the settings array is incorrect and also you have not specified the name for the textarea in the settings array which is why it returns you an empty alert.
Syntax from WordPress Codex:
wp_editor( $content, $editor_id, $settings = array() );
$content (string) (required) – Initial content for the editor
$editor_id (string) (required) – HTML id attribute value for the textarea and TinyMCE.
$settings (array) (optional) – associative array of the keywords and their values.
And the correct code in your case should be like below. Considering that the “post_content” is the initial string that you want in your editor.
wp_editor( post_content, 'mailling_messenger1', array( 'textarea_name' => 'mailling_messenger1') );
Related Posts:
- JSON parsing error syntax error unexpected end of input
- jQuery Ajax error handling, show custom exception messages
- How to send multiple data fields via Ajax?
- Jquery Ajax Posting JSON to webservice
- Ajax TypeError: $.POST is not a function
- How to fix the ‘Missing required request header. Must specify one of: origin,x-requested-with’ Ajax Error
- What’s the point of the X-Requested-With header?
- jQuery – Illegal invocation
- jQuery ajax error function
- WordPress AJAX File Upload – FrontEnd
- Can’t get a JSON object in response to an Ajax request with wp_ajax
- AJAX nonce with check_ajax_referer()
- Creating Ajax backend for Specialised Page Template? Should admin-ajax.php be used?
- Infinite scroll / lazy loading with NextGen Gallery [closed]
- wp_mail script with jQuery post
- WP set auth cookie using Ajax is not saved to browser
- jquery & ajax getting data to php in wordpress
- AJAX returns response 0
- Passing a varible from jQuery to PHP
- ajax call in wordpress front end
- AJAX post into pop-up div
- Appending anchor tag to next post
- How to Use JSON With AJAX?
- wp_localize_script, variable is not defined in jquery
- Using wp_ajax and wp_ajax_nopriv hooks
- WP REST return value to error function from Request
- Registration e-mail check with AJAX
- Updating User Profile with AJAX not working
- Auto Load New Posts
- wp_ajax() question.. not using wp_enqueue_script?
- Showing Author Information and Latest Post by author in lightbox when clicked on the name of the author
- WordPress Ajax not function as I expect… what’s wrong?
- Accept AJAX call with serialized form data
- Loading posts via AJAX in a hidden div with updated URL?
- How to get a value from PHP in Jquery through Ajax
- Jquery not showing in homepage
- Ajax not posting form data to query in PHP function
- jQuery Ajax returning correct Response, but after redirect to 404 Error
- How to get those data using with ajax json?
- Front-end Ajax File Upload
- Correct way to write jQuery functions in WordPress
- `wp_editor()` CSS messing up the jQuery Dialog
- gravity forms jQuery.load into modal [closed]
- jQuery ajax call throws an HTTP 302
- Ajax, Permalinks and post_thumbnail
- WooCommerce Ajax Cart Update Stopped Working
- WordPress AJAX Load More function duplicating a post
- AJAX Loaded Glossary like Search results with links to other entries from custom table
- Advanced Ajax Page Loader (AAPL) blocks resources
- Trouble with WordPress Ajax Login System – 302
- First Attempt at AJAX and it keeps getting Canceled. Can’t Get Results to Show
- How to return multiple arguments from AJAX callback function
- Why use admin-ajax.php when loading pages through AJAX?
- WP Rest Api / Ajax POST not working when not logged in
- Creating a new div onclick wordpress+ajax
- Ajax Validation for reCaptcha
- Sorting WP Auctions by date/price?
- Properly embed javascript into WP (using function.php) – doesn’t work?
- jQuery tabs plugin with callback to fetch data
- Loading dynamic content with AJAX breaking jQuery
- why is my wordpress Jquery-Ajax call not working?
- fill form fields with ajax response
- Adding custom cart price with Ajax in wordpress
- Custom AJAX form not working async
- Can’t add classes using jQuery from a JSON string with get_body_class()
- Null/undefined return in WordPress AJAX request
- AJAX Success Function using JS substr() fails in WP 4.1 vs 4.0
- Manipulate retrieved ajax data in php
- Using Jquery submit with ajax request
- Why is ajax working on one server and not the next?
- How to use wp_update_post with ajax on frontend
- Converting a working AJAX form to work with WordPress
- Connect Agile Carousel to WordPress AJAX
- WordPress Front-End Theme Editor
- Ajax page load in wordpress the right way?
- jQuery forms & updating info
- Get selected image URL from wp.media.editor.attachment into text input fails. What am I doing wrong?
- Orderby post__in Not Working Correctly?
- wordpress ajax upload media not working
- Reload selected post in multiple post query with ajax
- jQuery.post() calling function with parameter
- $_POST empty in using new php file added to theme
- Passing variable data from external jQuery file to options.php
- How to specify url for ajax call in wordpress plugin
- Possibility of creating a folder in the wordpress root install and installing a file there, all via plugin?
- Displaying contents of a tab
- owl carousel not working after ajax load [duplicate]
- Call admin ajax using absolute url? Relative URL breaks (frontend ajax)
- Load more button
- Ajax autocomplete based on usercode
- Variable not being returned from Ajax Javascript (though javascript receives it)
- Page keeps refreshing with Ajax form
- How to respond with WP_Ajax_Response();
- Convert WordPress SACK code to new admin-ajax
- Get selected value with PHP and jQuery
- Ajax request with jQuery without WP_ajax
- Ajax Query returns zero
- Dynamically populate Cascading Dropdown from MySQL using JQuery/AJAX [closed]
- How to combine jQuery in-place editor with $wpdb->update
- Contact Form 7 – Submit Form not working After Ajax Request [closed]