storyblok / field-plugin

Create and deploy Storyblok Field Plugin
https://www.storyblok.com/docs/plugins/field-plugins/introduction
25 stars 3 forks source link

feat(lib): add parseContent #266

Closed eunjae-lee closed 12 months ago

eunjae-lee commented 1 year ago

What?

This PR adds parseContent as the option to createFieldPlugin() function. This makes sure that we always pass around correctly formed payload.

This is almost the exact porting of #241. @johannes-lindgren did the job there, but since #260, it was too hard to resolve conflicts. So I've created a new PR here.

Why?

JIRA: EXT-1918

more discussion on #241

Notice

It's expected to see tests broken in this pull request, as the demo and the helpers are not taking this change into account. It will be fixed in the separate pull request.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plugin-sandbox ❌ Failed (Inspect) Sep 14, 2023 2:31pm
eunjae-lee commented 1 year ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

eunjae-lee commented 12 months ago

Merge Activity