Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Christiaan Conover on "TinyMCE not appearing when wp_editor is called (WP 3.9)"

$
0
0

One of the features of my plugin is to add a TinyMCE editor instance inside a meta box on the Edit Post screen. This has worked great up until 3.9, and I'm not clear as to what's going wrong.

Here are the relevant files containing the code for the meta box editor (links to files inside Github commit):

admin/author-customization-admin.php
admin/assets/js/edit-post.js

What am I missing? This is what I'm given when I load the Edit Post screen:
http://i.imgur.com/6GQUUa9.png

The contents are there though, which you can see when you highlight inside the textarea:
http://i.imgur.com/jTSlgWm.png

On WordPress 3.8.1 the code works just fine:
http://i.imgur.com/i7nTqPb.png

I'm not sure whether it's an issue with the PHP code or the JavaScript. Any help is appreciated.


Viewing all articles
Browse latest Browse all 8245

Trending Articles