Hmmm, what plugin adds that front-end form for contributors? Perhaps it doesn’t use the default WordPress editor there? If that’s the case, TinyMCE Advanced will not work in it unless specifically added by that front-end editing plugin.
Thread Starter
Slams
(@slams)
I’ve code by myself. Use wp_editor function to print editor. When I set edit_others_posts cap to contributor – everything works fine.
-
This reply was modified 7 years, 8 months ago by
Slams.
When I set edit_others_posts cap to contributor
You should never do that, it’s unsafe 🙂
Hmm, sounds like some deeper permissions issue. By default contributors cannot edit posts other than their own, perhaps something somewhere checks if current_user_can( 'edit_post', $post->ID ) and the ID is not set or is wrong? This plugin works as expected for contributors on the Edit Post screen, maybe look through the code there and try to copy from it?
-
This reply was modified 7 years, 7 months ago by
Andrew Ozz.