Failed to use tinyMCE within a metabox
-
I created a custom post type and successfully added to it custom fields with the metabox mechanism. I was happy I succeded in getting the custom fields with just code, no extra plugin added for this. But a nightmare started when I tried to connect the tinyMCE editor to something that at the beginning was a textarea. The display of the editor looks messed up and mixed together with the controls to move the box. I read somewhere tinyMCE instances don’t get along with metaboxes and so far I could find no fix for my issue.
I know metaboxes are just an option to add custom fields to custom post types, but I really don’t feel like resorting to an extra plugin, I’d like to keep on coding as I did so far. I momentarily got lost in searching for a guide to add non-metabox fields with just coding. I hope I won’t have to give up, but I mean to complete my task within next Friday, so I’ve gotta find a right balance between the pleasure of DIY and the need to get rid of these WordPress problems in a reasonable time. I usually deal with Drupal but this time I had to show I could however work it out with WordPress, so, dealing with this supposed advanced topic was kind of a challenge to me.
Would you please lend me a helping hand?Thanks in advance!
Andrea
- The topic ‘Failed to use tinyMCE within a metabox’ is closed to new replies.