I found some info on changes in 3.2 that might be relevant:
Aparrently,
wp_tiny_mce_preload_dialogs()
no longer exists from WP3.2 on. It got replaced bywp_preload_dialogs()
which is now being called fromwp_quicktags()
.wp_quicktags
, on his turn, is being called fromthe_editor()
function. So, if you’re usingthe_editor()
you no longer need to manually call the function to preload any dialogs!If you’re not using
the_editor()
, make sure to callwp_preload_dialogs()
somewhere from your footer in the following manner:
wp_preload_dialogs( array( 'plugins' => 'wpdialogs,wplink,wpfullscreen' ) );
You could try calling wp_preload_dialogs(), or maybe switch to using the_editor()
instead of tinyMCE.execCommand()
.
Also, check out this question; calling wp_tiny_mce()
solved my problem.
Related Posts:
- Wait for Gutenberg or built something in ACF?
- Creating a wp_editor instance with custom tinyMCE buttons
- How to add custom CSS (theme option) to TinyMCE?
- How to disable TinyMCE from removing span tags
- Add popup window to TinyMCE buttons
- How to customize TinyMCE4 in WP 3.9 – the old way for styles and formats doesn’t work anymore
- TinyMCE editor is breaking my beautiful HTML
- Load wp_editor via ajax [duplicate]
- Why did multiple line breaks stop working in text editor?
- TinyMCE 4.x : How to customize toolbar on wp_editor()
- Replace Taxomony Description Field with Visual/WYSIWYG Editor
- How to replace the content of tinyMCE editor in both text and visual mode using jQuery?
- TinyMCE format dropdown no longer showing style previews
- wp_editor disable after reaching character count limit
- Is it possible to re-use the image details popup?
- Visual Tab Missing From Editor
- How to use the new Dashicons for custom TinyMCE buttons?
- Replicating the_editor (Media Bar, TinyMCE, Visual/HTML Tabs) functionality without a huge rewrite
- “wp_editor” not displaying TinyMCE correctly when square brackets used in name
- Using a dashicon for a custom button in TinyMCE?
- How to disable TinyMCE 4 keyboard shortcuts
- Pasting code into pre-formatted text in Visual Editor not working in 3.3.1
- Tiny MCE not adding p tag when saving theme option
- How to add TinyMCE keyboard shortcut
- WordPress MultiSite Paste from Word Tool Does not work
- data-accordion removed in Visual Editor
- Remove quicktag buttons but not Visual / Text editor and tabs
- TinyMCE removes iframe attributes width and height
- WordPress tinymce prints empty P tag and break html format
- Append Font Family in TinyMCE
- Disabling TinyMCE keyboard shortcuts altogether
- tinyMCE duplicates previous block element when pressing return (visual editor)
- WP 3.3 my rich text category editor toolbar is gone!
- WordPress visual editor broke due to non standard port?
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- Enable Visual Editor In Comments On CPT Edit Page
- TinyMCE is broken
- Add TinyMCE editor to windowManager textbox
- Added custom styles to Visual Editor. Classes are appended and not replaced as intended
- TinyMCE – Add button that changes direction of selected text
- Is there a way to remove the default css from TinyMCE?
- Preserving tabs and line breaks in when switching from HTML to Visual Editor
- TinyMCE Visual Blocks plugin set Show blocks option for all users
- Gutenberg; Rich Text/HTML for Metadata Textarea Control in Back End
- Add a TinyMCE Core Plugin Using tiny_mce_before_init
- Selectively remove empty line after line change
- Fontawesome icon vanishes in editor while switching text and visual mode
- wordpress qtranslate editor text is not working [closed]
- create a front end post page template withTinyMCE,
- How does WordPress remember which editor is being used?
- Add buttons to the new TinyMCE WP Editor. Javascript API
- Is it possible to disable the image alignment options in the post editor?
- Open Insert/edit link popup
- How to dynamically generate wordpress editor on frontend?
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- tinyMCE 4.0 custom button onclick no longer working
- How to add Listbox / Select dropdown for shortcodes in WP 3.9 beta2 using TinyMCE?
- Using spellchecker plugin in TinyMCE
- wp_editor not modify html tags of initial content
- Stop TinyMCE from deleting empty HTML tags
- Custom TinyMCE Editor Formats in Dropdown
- Why is the media upload button not in the main toolbar & can it be placed there instead?
- Can I disable `wp-tinymce.php` load as script?
- wp_editor – Media uploader button to tinymce
- Removing tags around tags
- Editor html formatting is different from view source
- WordPress no longer holding post formatting
- HTML formatting issues when switching between editor tabs
- Stop editor from adding “amp;” after every “&”
- Visual composer causing conflict with TinyMCE [closed]
- Overriding TinyMCE buttons – Justify button shortcodes not working
- WP Editor: Keep Bold, Underline, etc. but ignore color
- TinyMCE 4 & wp_editor multiple editor issue
- TinyMCE Advances is removing blanks (” “)
- How to remove buttons from tinyMCE in wp_editor added via AJAX
- enable TinyMCE for comment forms
- TinyMCE – Insert media at the beginning of post
- Best Browser for Editing Posts
- TinyMCE invalid nested list markup
- Unable to save Theme Options when TinyMCE is enabled for the text area
- Adding a Media Button to the WordPress Content Editor
- Error in backend: Failed to load plugin: tabfocus from url
- How can I change TinyMCE’s default block format?
- Adding a class to custom TinyMCE button using WPLinks dialog box
- Remove MS Word comments from pasted text
- How to force wp excerpt to use br tag?
- How to modify VisualComposer’s TinyMCE editor only for a specific shortcode
- How to have html in TinyMce “Text” tab properly indented and highlighted
- TinyMCE adds a after a HR
- How to remove “justifyfull” in TinyMCE
- TinyMCE errors after 3.7.1 to 3.9.1 upgrade
- Localize tinymce in WordPress 3.9?
- Get the More QuickTag button back
- Make videos output as iframes not links
- Preventing tinyMCE from auto formatting selected blocks of content
- How to insert image from link in TinyMCE
- Tinymce broken after update
- Problem with Line spacing in wysiwyg editor in WP 3.5.1
- get backend to front end
- Why did my get mangled, and how can I keep from happening again?