area17 / twill

Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/cnWk7EFv8R.
https://twillcms.com
Apache License 2.0
3.79k stars 577 forks source link

Caption of Image does not persist #2689

Open emil-es opened 2 weeks ago

emil-es commented 2 weeks ago

Description

when using the block editor with a medias form input, the metadata s caption doesn't persist to db.

Steps to reproduce

install a fresh laravel app, install twill, install twill basic-page-builder

Expected result

Create a new page. Save page with an image block, edit info - fill caption field. Reload page, caption field is persisted.

Actual result

Create a new page. Save page with an image block, edit info - fill caption field. Reload page, caption field is empty.

Versions

Twill version: 3.4.1 Laravel version: 11.30.0 PHP version: 8.3.13 Database engine: sqlite

emil-es commented 2 weeks ago

reverting back to twill 3.3.1, this works as expected

LucaRed commented 3 days ago

Not only for image blocks, the caption is not saved for any Medias field.