Closed alex-mcgovern closed 10 months ago
When attaching a handler to the "input" event like this:
const setEntryData = () => { // ... set data } sbBridgeInstance?.on( "input", (event: StoryblokEventPayload | undefined) => { if (event?.story) { setEntryData({ data: { story: event.story, }, }); } } );
The content of event.story should include the _editable key for nested bloks within Rich Text Fields.
event.story
_editable
StoryblokEventPayload
sbBridgeInstance.on("input", (event: StoryblokEventPayload | undefined) => {})
Hi @alex-mcgovern the Product team of Storyblok added some changes to the Storyblok Bridge, one of them related to this case. Can you check if it's working now for you?
Expected Behavior
When attaching a handler to the "input" event like this:
The content of
event.story
should include the_editable
key for nested bloks within Rich Text Fields.Current Behavior
_editable
key_editable
keySteps to Reproduce
StoryblokEventPayload
passed to callback forsbBridgeInstance.on("input", (event: StoryblokEventPayload | undefined) => {})
_editable
key