Title: Editors Cannot Submit Embeds
Last modified: August 23, 2020

---

# Editors Cannot Submit Embeds

 *  [Fahrenhe1t](https://wordpress.org/support/users/fahrenhe1t/)
 * (@fahrenhe1t)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/editors-cannot-submit-embeds/)
 * As an admin, I can create a listing, click the “Text” tab in the description 
   field, paste in embed code, save the listing, and that embed code saves.
 * However if a user that is set as contributor or editor, they are unable to save
   the embed code. When the listing is updated, the embed code is removed. I’ve 
   had them try 3 different browsers, and even upgraded their account to admin, 
   but it keeps removing any code put in the Text box (Anything put in Visual saves).
   Is there any way to troubleshoot this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Feditors-cannot-submit-embeds%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [LDDConsulting](https://wordpress.org/support/users/suffrage/)
 * (@suffrage)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/editors-cannot-submit-embeds/#post-13306308)
 * Please add this code to your theme functions.php and see if it works
 * > function ldd_add_theme_caps() {
   >  $role = get_role( ‘contributor’ );
   >  $role->add_cap( ‘unfiltered_html’ );
   >  } add_action( ‘admin_init’, ‘ldd_add_theme_caps’);
 *  Thread Starter [Fahrenhe1t](https://wordpress.org/support/users/fahrenhe1t/)
 * (@fahrenhe1t)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/editors-cannot-submit-embeds/#post-13306820)
 * Hi, I tried adding this to a site-specific functions plugin, but it didn’t work.
   The user (who is an editor) pastes the embed code in the text field, and it removes
   the text upon save. It also gives an error now about “The backup of this post
   in your browser is different from the version below.”
 * > [LDD Directory Lite](https://imgur.com/a/jx6eIeS)
 * I tried changing the `get_role('contributor');` to editor as well.
 *  [LDDConsulting](https://wordpress.org/support/users/suffrage/)
 * (@suffrage)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/editors-cannot-submit-embeds/#post-13307132)
 * editor should be able to insert edit, this should be not be issue with directory
   plugin, can you add embed in pages or posts with editor role?
 *  Thread Starter [Fahrenhe1t](https://wordpress.org/support/users/fahrenhe1t/)
 * (@fahrenhe1t)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/editors-cannot-submit-embeds/#post-13312297)
 * Looks like contributors can’t create an embed on standard posts or pages either.
   Not sure how the role permissions changed. I saw there is a plugin (PublishPress
   Capabilities) that can reset role permissions to default; would that break LDD
   Directory Lite?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Editors Cannot Submit Embeds’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ldd-directory-lite_d2d2d2.svg)
 * [LDD Directory Lite](https://wordpress.org/plugins/ldd-directory-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ldd-directory-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ldd-directory-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/ldd-directory-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ldd-directory-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ldd-directory-lite/reviews/)

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)

 * 4 replies
 * 2 participants
 * Last reply from: [Fahrenhe1t](https://wordpress.org/support/users/fahrenhe1t/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/editors-cannot-submit-embeds/#post-13312297)
 * Status: not resolved