File Block:Adding a custom style to a file block will register two upload files. #32157
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
If you add a custom style to the file block with register_block_style(), two upload files will be registered.
Step-by-step reproduction instructions
Expected behaviour
Register only uploaded files.
Actual behaviour
Duplicated files will be registered at the same time.
Screenshots or screen recording (optional)
Code snippet (optional)
WordPress information
Device information
The text was updated successfully, but these errors were encountered: