You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of @strapi/blocks-react-renderer are you using?
npm, node, react, strapi-* - the latest versions
What's Wrong?
The code below is likely working, but Strapi returns the data in a different format. The API returns the Code block inside a Paragraph, and the function code is never called.
What version of
@strapi/blocks-react-renderer
are you using?npm, node, react, strapi-* - the latest versions
What's Wrong?
The code below is likely working, but Strapi returns the data in a different format. The API returns the Code block inside a Paragraph, and the function code is never called.
blocks-react-renderer/tests/BlocksRenderer.test.tsx
Line 417 in 032e256
Below, I have attached a screenshot of the server's response:
Here is my workaround:
To Reproduce
Open DevTools...
Expected Behaviour
The
code
function should be called.The text was updated successfully, but these errors were encountered: