Working with external library in gutenberg block

So the important thing to understand here is that while the block editor is React based, and can use React components, the data it saves is purely HTML. So your block will simply save the HTML output of its save() function to the post’s content in the database. When that content is output on the … Read more

LinkControl – how to toggle opensInNewTab

This is covered in the documentation section directly above the one you linked, for value: A link value is composed of a union between the values of default link properties and any custom link settings. The resulting default properties of value include: url (string): Link URL. title (string, optional): Link title. opensInNewTab (boolean, optional): Whether … Read more