You need to use wp_editor()
$old_description = get_post_meta($post->ID, 'sdm_description', true);
$editor_id = 'sdm_description';
$settings = array( 'media_buttons' => false );
wp_editor( $old_description , $editor_id, $settings );
Related Posts:
- Add popup window to TinyMCE buttons
- TinyMCE editor is breaking my beautiful HTML
- How to replace the content of tinyMCE editor in both text and visual mode using jQuery?
- wp_editor disable after reaching character count limit
- Is it possible to create nested lists in the WYSIWYG editor?
- TinyMCE Anchor Button not showing
- How to keep non-breaking spaces in the visual editor?
- Is there a way to prevent the Editor from modifying my HTML
- How to disable TinyMCE 4 keyboard shortcuts
- How to customize the symbols that appear in the Visual Editor insert custom character
- Pasting code into pre-formatted text in Visual Editor not working in 3.3.1
- Add Shortcode inline inside Gutenberg block
- How to make WordPress and TinyMCE accept tags wrapping block-level elements as allowed in HTML5?
- Visual Editor freezing on text highlight since 4.3
- tinyMCE duplicates previous block element when pressing return (visual editor)
- WordPress visual editor broke due to non standard port?
- Customising the WordPress TinyMce editor and it’s buttons
- Enable Visual Editor In Comments On CPT Edit Page
- Text cut off after the character 𪇆 in TinyMCE
- Adding image to visual editor popup for shortcode with wp.media and wp.mce: changing image duplicates shortcode
- Change Default Font Size and Remove Unwanted Font Sizes in TinyMCE
- TinyMce in WordPress – Getting the “fullscreen” button to stay on the right when customising button layout
- Added custom styles to Visual Editor. Classes are appended and not replaced as intended
- Preserving tabs and line breaks in when switching from HTML to Visual Editor
- How to disable formatting
- Add table button in editor without Plugin
- How to get line breaks to translate to paragraphs?
- TinyMCE Visual Blocks plugin set Show blocks option for all users
- Custom TinyMCE style formats disabled
- Visual editor not showing all table rows
- Is it possible to disable the image alignment options in the post editor?
- Open Insert/edit link popup
- Change syntax styling of TinyMCE HTML Text Editor
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- Customer Support: TinyMCE stopped working (on some computers)
- customize tiny MCE blockqute
- Keyup events in tinymce editor not working
- How to force insertion in editor
- Stop editor from adding “amp;” after every “&”
- Visual Editor is blank – 404 for plugin js
- Visual composer causing conflict with TinyMCE [closed]
- TinyMCE: Move buttons from 2nd row to top row
- enable TinyMCE for comment forms
- Best Browser for Editing Posts
- TinyMCE strips off the href tag inside span, if i change from text to visual
- Adding a Media Button to the WordPress Content Editor
- clasic editor – article categories customization?
- How can I change TinyMCE’s default block format?
- Load WordPress Editor .css on Front End
- “Formats” Select Menu in WP Editor doesn’t show up with correct colour
- How to force wp excerpt to use br tag?
- Adding microdata using Structured Data Markup Helper HTML
- How to modify VisualComposer’s TinyMCE editor only for a specific shortcode
- Preventing tinyMCE from auto formatting selected blocks of content
- wp_insert_post() dont post content like i need it :(
- WordPress Started Executing Code Inside PRE Tags Even They Are Properly Escaped
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- How to use tinyMCE for user “biographical info”?
- Tiny MCE editor stripping xlink:href parameter from SVG USE tag
- When switching from html to visual editor the tag gets corrupted
- Markup of oEmbed codes in the editor?
- Change padding to text indent in “Increase indent” TinyMCE
- Remove ‘Visual’ tab from TinyMCE editor
- How do i disable/disallow and tags in TinyMCE?
- How can I control the HTML output of my post?
- Set tinymce direction to rtl
- Add a select a class dropdown in tinymce
- WordPress & TinyMCE: Failed to load
- wp.editor.initialize does not show the same default toolbar
- How to add button in TinyMCE TEENY mode?
- TinyMCE Editor change underline button behavior – u tag instead of span text-decoration underline
- Can’t remove generated by editor from database
- Editor stripping out data attribute when saving
- Post content not showing in the edit post textarea
- Disable TinyMCE Table formatting width/height
- Use schema.org HTML in TinyMCE Editor
- TinyMCE buttons that launch Ajax-generated forms
- Adding custom block formats to TinyMCE. Everything works until JavaScript error when applying the format
- Adding CSS to admin TinyMCE editor for custom button
- How to disable TinyMce’s Paste plugin from turning image URLs into embedded ?
- How can a TinyMCE modal return formatted/visual text?
- How to apply a custom skin to WP_Editor / TinyMCE?
- Blank spaces show as a question mark
- Can i set css class for table via TinyMCE [closed]
- Where’s the explanation of the TinyMCE’s vars in the WP core?
- How to edit blockquote image
- Customizing tinyMCE 4 Styles and Format dropdowns
- WordPress (TinyMCE) not removing script tags
- Why Editor reformats my code
- How can I remove using built in wordpress filters
- TinyMCE Visual editor removes href containing Javascript with ‘allow_script_urls’ set to true
- Equation input with preview in classic editor
- TinyMCE is inactive after installation
- How to set custom TinyMCE format style as default?
- Did Gutenberg block editor change the html in post content during import?
- Prevent Black Studio TinyMCE from adding tags when switching from Visual to HTML mode
- Inline Editing with wp_editor and tinymce (problem with textarea)
- What is zinging my HTML commands? I don’t think I can blame TinyMCE this time…
- Is there an alternative way to upload html without using TinyMCE?
- Add new MCE button for toggle specific cell background color