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

  1. MrVictor
    Posted 4 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 4 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

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic