Starting from EditorsKit version 1.26, a new block called ShareABlock is available. This block will let you insert your downloads easily without the need to leave the Gutenberg editor. To enable this feature, you need to provide API Key and Access Token. I will give the details on how you can obtain them on this website. 

First, you need to have an account or have previously downloaded any patterns or templates.

Providing an email is required when you download any block pattern or template on ShareABlock, which will automatically register you for an account on this website. 

You just need to login through https://shareablock.com/login/ then navigate to the “My Account” page.

Under the Account Dashboard page, you will be given a link to generate the API Key and Access Token.

ShareABlock Generate API Key and Access Token
ShareABlock Generate API Key and Access Token

Generate API Key and Access Token

Upon clicking the link, you will be redirected to a page where you can generate the API key. Just tick the “API Keys” checkbox then click the Update Profile button.

Generate ShareBlock API Key and Access Token
Generate ShareBlock API Key and Access Token

Copy API Key and Access Token

When your API Key and Access Token have been generated, just copy and paste them to the ShareABlock block. You only need the following:

  • Public Key
  • Token
Public Key and Access Token
Public Key and Access Token

You only need to do this once. After successfully validating the fields, you can now insert your downloads easily.

Insert downloads using ShareABlock block
Insert downloads using ShareABlock block

That’s all!

Thank you for choosing ShareABlock and EditorsKit. If you have any questions or need help, please do not hesitate to contact the support through support@editorskit.com.

Jeffrey Carandang

About the author: Jeffrey Carandang is a PHP and JavaScript developer who has a dedication to help users with the new Gutenberg block editor for WordPress since its genesis. Follow on Twitter

Leave a Reply

Your email address will not be published. Required fields are marked *