The WordPress OEmbed should show in the editor by default.
If it doesn’t, I suspect that you need to enqueue some scripts and styles on your page where you are using wp_editor
. Eg:
wp_enqueue_script('editor', false, false, false, true);
wp_enqueue_script('quicktags', false, false, false, true);
wp_enqueue_script('wplink', false, false, false, true);
wp_enqueue_script('wpdialogs-popup', false, false, false, true);
wp_enqueue_style('wp-jquery-ui-dialog', false, false, false, true);
wp_enqueue_script('word-count', false, false, false, true);
wp_enqueue_script('media-upload', false, false, false, true);
wp_admin_css();
wp_enqueue_script('utils', false, false, false, true);
Related Posts:
- WP Editor Issue in Backend
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- Replace audio/video enclosure with player?
- Load visual editor without custom styling
- Has anyone managed to integrate the wp_editor inside a widget?
- Backslashes being stripped from CSS
- WYSIWYG editor in WP 3.2 plugin
- Add a panel to edit post
- the_editor() function
- WP_Editor – Saving Value into Plugin Option – Stripping HTML
- Append wp_editor to Dynamically created textarea
- tinymce.get() returns error after ajax request
- How to add a widget to the post editing view?
- wp_editor add media button not working
- Creating multiple wp_editer() text fields in for loop — the text/visual switch only works for first editor
- how to save wp_editor html content in options table
- custom wp_editor does not save the content in plugin settings
- Creating posts with links from a txt file
- Adding the image selector/uploader to an admin back page
- How to fetch the post content from the wordpress editor before it can be saved(published)?
- Publish, Save Draft and Preview buttons do not work after being moved with jQuery
- Call API on post save/update and show the result in admin area
- How can I add a custom button to the post editor?
- How do I display and edit other posts within the ‘Edit Post’ area of Wp-Admin Dashboard
- How do I add CSS options to my plugin without using inline styles?
- How to override existing plugin action with new action
- Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1
- How to store username and password to API in wordpress option DB?
- How do I create links at the top of WP_List_table?
- Why Does get_posts() Return an Empty Set?
- Get list of available wordpress actions
- Where to enqueue stylesheets for plugin?
- How can the tinyMCE dom be manipulated (offical API does not seem to work)?
- stray elements
- Deletion of shared options using uninstall.php
- Plugin Settings not Saving on Ajax re-ordered table
- Undefined function wp_set_password
- WordPress password reset – why post rp_key?
- How to modify the new WordPress 4.5 link inline toolbar
- Proper way to hook wp_get_attachment_url
- How to install WordPress Popular Posts plugin twice?
- Get the link text
- Multisite plugin development and wp_enqueue_script
- Prevent plugin from deleting important directories
- Disable HTML (Text) Tab in Post Editor
- Is Dreamweaver CS5 a serious choice for theme/plugin development?
- What allows a template file from plugin to be copied in child theme and overridden?
- How to set “Site Address (URL)” programmatically on WP multisite?
- creating custom archive template within plugin for custom post type using archive_template filter
- Reset plugins version cache | pre_set_site_transient_update_plugins
- Add column and post filter for a custom post type field on the edit.php page
- How to fetch all images from a WordPress draft using PHP?
- Can’t get woocommerce_get_price_html to work [closed]
- jQuery selectors for editor elements safe to use?
- parse content from wikipedia article replacing search term with the title of article
- Fatal error: Uncaught Error: Call to undefined function get_option()
- Strange Situation When Try To Retrieve Github Gist Using wp_remote_get
- jQuery does not enqueue for my purpose… (before an inline script in the footer)
- Can I add custom css to an mu-plugin?
- WP Plugin Running before jQuery
- Prevent WordPress automatically processing certain URL queries
- insert query on a custom table using ajax with jQuery plugin Jeditable
- How to check via conditional tags for a single plugin page?
- How to add search form in main page body?
- WordPress Rest API with rest_do_request, possible race condition?
- Need help about understand api, wp, $ syntax in WordPress plugin script
- How to disable a jQuery plugin on WordPress plugin page
- Is it possible to use WP-CLI in a plugin (or theme)?
- WP_NAV_MENU filter targets all menus
- Load php file with jquery in single.php
- Restore svn trunk of my plugin repository to the initial state?
- Anyone using unzip_file successfully? It uploads the zip but doesn’t extract it!
- WP 3-way voting system: On to something! Please help!
- Why is the expected file not being deleted?
- How to determine which capability to use?
- How to use attributes in competent of Gutenberg
- Hook to execute after deleting a Custom Taxonomy
- Forbidden Error in ajax call with wordpress
- Custom non-template page on front end fails to render
- Add custom parameter for custom user role
- Post is uncatagorized in publish_post action
- WordPress Iframe for blog image
- How to add admin.php to WP Admin Menu Link
- CPT UI and custom database table
- Updating a WP Plugin SVN not showing on WordPress Website or Zip
- Download stopped working in 4.7.4
- $wpdb Mysql trigger problem
- WordPress postboxes On Tabbed Views and Hiding Registered Pages
- grouping my widgets wordpress
- Yet another wp_insert_post infinite loop. What is wrong?
- Why does this fail: Disabling plugins enqueue_script() in functions.php
- Remove text from confirmation message
- Can I use an array to create multiple tables?
- How to set init for maximum script execution, memory limit and max files upload in wordpress
- Help interpreting @wordpress/create-block-tutorial-template usage error
- Leveraging Core Functionality in Icon Upload Plugin [closed]
- How can I chanage the user for the composer container in wp-env?
- Adding a navigation with wp_nav_menu() to a custom block in the site editor
- Why isn’t custom sidebar panel not showing up in the Gutenberg Editor?
- Ninja Forms: Front-End Forms, Post ID?