How can I make 2 plugins that include different versions of a framework to both use the latest version?

This is serious problem with WordPress and composer. Whatever you do, you are just asking for future problems and/or making life hard for your plugin users. Guess what – even if you manage to load correct version of framework for all your plugins, WP user may unknowingly install some other plugin, which also uses the … Read more

Gutenberg block can’t save richtext

Couple of things to try – remove some of the curly braces { } because those are only needed when you’re referring to variables, and try just directly calling onChange: <div className={‘caption’}> <RichText tagName=”p” className=”imgCtaContent” onChange={ ( content ) => { setAttributes( { content } ) } } value={content} placeholder=”Enter text…” /> </div> Also in … Read more