vip-block-data-api icon indicating copy to clipboard operation
vip-block-data-api copied to clipboard

WordPress plugin that provides an API to retrieve Gutenberg content as structured JSON.

Results 12 vip-block-data-api issues
Sort by recently updated
recently updated
newest added
trafficstars

We have too many manual steps for creating a release in RELEAE.md, and we should automate that. Gutenberg can be used as an example for how to do this.

**Describe the bug** There's almost no type hinting in the plugin, and half the methods are missing PHPDocs. **To Reproduce** look at the code, I would have expected the VIP...

bug

Could return shorter props, e.g. “attrs” instead of “attributes”, etc.? Or have a “compact” mode? This becomes important for the OpenAI ChatGPT integration since we need to be efficient with...

enhancement

Create an endpoint that renders the HTML of a block as WordPress would do.

enhancement

Allow returned nodes to be filtered by index, either with a specific index or a range. This parameter would be passed via query string.

enhancement

## Description The current implementation of the content parser doesn't return empty attributes, which is a deviation from the expected behavior. This inconsistency can potentially break the typing contract, causing...

## Describe the bug Currently, there is a significant issue with default attributes, such as the anchor attribute. These attributes are not available in the server-side context, causing them to...

bug

## Description For some specific use cases, such as retrieving the anchor attributes from the HTML of every block, the API may unexpectedly return `null`. For example: - If the...

**Describe the bug** Currently, there is a significant issue with default and client-side registered attributes, such as the `anchor` attribute, which are registered on the frontend and not in the...

bug
wontfix

## Description I realized we don't have a PHP and WP version check and the one we have been relying won't really be enforced for the way we expect this...