• 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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    (@fahrenhe1t)

    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

    I tried changing the get_role('contributor'); to editor as well.

    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

    (@fahrenhe1t)

    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.