Default WordPress WP Editor removing style tags and html tag

WordPress has a user capability called unfiltered_html. Any user with the unfiltered_html capability can post any HTML they want, including <script> tags. Due to security concerns, the unfiltered_html capability is—by default—only granted to Administrators (in WordPress Multisite, it’s only granted to Super Administrators). If you need to add the unfiltered_html capability to a non-(Super-)Admin user, … Read more

WordPress Gutenberg react make import of __experimentalUseInnerBlocksProps which is no more experimetal

Ok, this is probably the easiest workaround I was able to find, but if someone has better idea, then feel free to post it here 😉 import { __experimentalUseInnerBlocksProps, useInnerBlocksProps, } from ‘@wordpress/block-editor’; if( typeof useInnerBlocksProps == ‘undefined’ ){ var compatibleUseInnerBlocksProps = __experimentalUseInnerBlocksProps; }else{ var compatibleUseInnerBlocksProps = useInnerBlocksProps; } so basically I can import both … Read more