File Block re-enables "Show inline embed" when replacing file #67248
Labels
[Block] File
Affects the File Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When a file block, which has had "Show inline embed" off, has its file replaced - "Show inline embed" toggles itself back on. Simply replacing the file should update as few settings as possible, and this one should not be toggled on.
(This feels similar to #66979 , where replacing an Image Block's image can alter settings. I feel like there could be a movement to get 'replace' functionality more clearly defined and consistent.)
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.7.1 (and 6.6.2), variety of themes, no Gutenberg plugin
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: