Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] Hiding Editor (WYSIWYG) breaks javascript and edit screen.

  • Hi,

    If you create a custom post type and disable the default WordPress WYSIWYG-editor there is an error in the plugins javascript, wp-seo-metabox.js on line 65. Because “str” is empty because there’s no editor (#content).

    desc = jQuery("#editorcontainer #content").val();
            desc = yst_strip_tags( desc );

    . This causes alot of wierd behaviours on the Edit page!

    function yst_strip_tags( str ) {
        return str.replace(/<\/?[^>]+>/gi, '');
    }

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • Plugin Author Joost de Valk

    (@joostdevalk)

    I think that got fixed in 0.3.5, also, you can disable the WP SEO box for a post type on the SEO -> Dashboard page.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Hiding Editor (WYSIWYG) breaks javascript and edit screen.’ is closed to new replies.