On default is the iframe tag a not allowed tag in the editor. You must change the filter for allowed this html tag. Copy the follow source in a plugin and allow iframe for the editor TinyMCE.
add_filter( 'tiny_mce_before_init', 'fb_change_mce_options' );
function fb_change_mce_options( $tags ) {
// Comma separated string od extendes tags
// Command separated string of extended elements
$ext="iframe[align|longdesc|name|width|height|frameborder|scrolling|marginheight|marginwidth|src|id|class|title|style]";
if ( isset( $tags['extended_valid_elements'] ) )
$tags['extended_valid_elements'] .= ',' . $ext;
else
$tags['extended_valid_elements'] = $ext;
return $tags;
}
Related Posts:
- Why did multiple line breaks stop working in text editor?
- Markup of oEmbed codes in the editor?
- How can I stop TinyMCE from converting my HTML entities to characters?
- Cite-Tag for blockquotes
- Add Shortcode inline inside Gutenberg block
- TinyMCE editor – new lines not rendered on front end
- WordPress tinymce prints empty P tag and break html format
- Easy way to inject js in tinymce iframe?
- WP 3.3 my rich text category editor toolbar is gone!
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- How do i disable/disallow and tags in TinyMCE?
- How can I control the HTML output of my post?
- TinyMCE Plugin Parameter
- Access tinymce from thickbox
- Add table button in editor without Plugin
- Our shortcode dropdown box in Tinymce is not working in WordPress 3.9?
- Custom TinyMCE style formats disabled
- Editor stripping out data attribute when saving
- Add buttons to the new TinyMCE WP Editor. Javascript API
- Is it possible to disable the image alignment options in the post editor?
- How to dynamically generate wordpress editor on frontend?
- Change syntax styling of TinyMCE HTML Text Editor
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- Why is the media upload button not in the main toolbar & can it be placed there instead?
- Adding CSS to admin TinyMCE editor for custom button
- Editor html formatting is different from view source
- How can a TinyMCE modal return formatted/visual text?
- Why exactly does WordPress use p tags, not divs?
- Allowing style tag in TinyMCE editor
- TinyMCE Advances is removing blanks (” “)
- Why Editor reformats my code
- 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
- Wordpres Tinymce custom button (Gavick guide)
- Error in backend: Failed to load plugin: tabfocus from url
- Preserve indentation, HTML5 shorthand in editor
- Adding microdata using Structured Data Markup Helper HTML
- `tinyMCE is not defined` after migrating site to server
- how to see P and BR tags in tinymce?
- Remove heading tags on line break
- Custom shortcode editor [BackboneJS & TinyMCE)
- WYSIWYG with HTML source?
- How do I separate my theme’s styles from editor styles?
- Add custom classes to TinyMCE generated markup
- Problem with Line spacing in wysiwyg editor in WP 3.5.1
- How to add placeholder in wp_editor?
- wp.editor.initialize() breaks when support for ‘editor’ is added to custom post type
- iframe refuses to display
- iframe refuses to display
- How to center an iframe horizontally?
- How to align iframe always in the center
- Alternative to iFrames with HTML5
- Remove border from IFrame
- How to apply CSS to iframe?
- Full-screen iframe with a height of 100%
- Make iframe automatically adjust height according to the contents without using scrollbar?
- Play videos with iframe in html
- Brackets – Live Preview not working
- HTML iframe – disable scroll
- How to make HTML table cell editable?
- How to do auto-width with HTML IFrame
- Remove scrollbar from iframe
- “Full screen” iframe
- How to disable auto-play for local video in iframe
- difference between iframe, embed and object elements
- Embedding instagram webpage inside an iframe
- Adjust width and height of iframe to fit with content in it
- Reload an iframe with jQuery
- How to embed a youtube playlist with a sidebar
- Full Page < iframe >
- How to embed an autoplaying YouTube video in an iframe?
- Change background color of iframe issue
- html : iframe not showing content in html
- How to fix facebook sharer button that appears cutted on wordpress
- How do I include a TinyMCE editor in the frontend?
- Extra TinyMCE editor strips and tags?
- Switch between Visual and HTML tab freely
- Creating a wp_editor instance with custom tinyMCE buttons
- How to add custom CSS (theme option) to TinyMCE?
- How to add “Insert/Edit link” button in custom popup tinymce window?
- Remove HTML editor and visual/HTML tabs from TinyMCE
- How to disable TinyMCE from removing span tags
- WordPress automatically adding ” “?
- Forcing reload of editor-style.css
- Add popup window to TinyMCE buttons
- Initialize TinyMCE editor / visual editor after AJAX insert
- How to customize TinyMCE4 in WP 3.9 – the old way for styles and formats doesn’t work anymore
- No filter of code on switch from html to visual editor, how?
- TinyMCE editor is breaking my beautiful HTML
- WordPress 3.9 – Trouble Editing TinyMCE 4.0
- How set defaults on wpLink()
- How to get the input of a TinyMCE editor when using on the front-end?
- Removing buttons from the editor
- Load wp_editor via ajax [duplicate]
- How to modify image editor dialog options on WordPress?
- How to include own css on wordpress tinymce editor?
- How to force TinyMCE in WordPress to replace newlines with tags and not with
- Enqueue Script After TinyMCE initialized