Ready to get started?Download WordPress


WordPress SEO by Yoast
Hiding Editor (WYSIWYG) breaks javascript and edit screen. (2 posts)

  1. MrVictor
    Posted 3 years ago #


    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, '');


  2. Joost de Valk
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic