[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, ''); }
Viewing 1 replies (of 1 total)
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.