InnerBlocks restricting does not work on nested blocks
InnerBlocks restricting does not work on nested blocks
InnerBlocks restricting does not work on nested blocks
Gutenberg getMedia() in post query doesn’t return all featured images
How to conditionally show/hide controls & sections in WordPress customizer?
Programatically update posts in database from one block to another using transform
Is there a way to check for an attribute of a script when using script_loader_tag?
How to disable inline css styles generated by Gutenberg editor?
The site you linked to uses paid script Magic Zoom Plus, it has WordPress plugin available.
That script looks very old and obtrusive and it doesn’t output a marquee, but a slideshow. There already are hundreads of themes with a slideshow built in, as well as many newer jQuery plugins which you can switch to. If you’re still convinced this particular script is worth the time to fix, install Firebug to … Read more
Not tested, but I imagine add_filter(‘the_content’, ‘wp_kses_post’); will scrub it good. Might need playing with priority.
From comments: You have to use the image_send_to_editor filter to filter the string before it arrives at the window.send_to_editor javascript function. add_filter(‘image_send_to_editor’, ‘my_image_send_to_editor’, 10, 2); function my_image_send_to_editor($html, $id) { $description = str_replace(“\r\n”,’ ‘, $description); }