storyblok / storyblok-js

JavaScript SDK to connect Storyblok with your favourite framework that we don't have an official SDK for.
http://storyblok.com/
MIT License
38 stars 20 forks source link

The Storyblok Bridge doesnt support having a fallback language #560

Open SebbeJohansson opened 2 months ago

SebbeJohansson commented 2 months ago

Description

In the Storyblok bridge within the storyblok-js package, there is no option to send in fallback language, meaning that the content is incorrect in the editor after editing. https://github.com/storyblok/storyblok-js/blob/41c0b59c0f99123c69e0bd0ff3e3034d4ecc13ee/lib/types.ts#L58-L64

Suggested solution or improvement

I suggest that support is implemented so that it works the same as just a normal page-load.

Additional context

Before editing: image After editing: image

Validations

SebbeJohansson commented 2 months ago

@MirsonMboa I think not.