File Block: Turn off PDF embedding by default. #48486
Labels
[Block] File
Affects the File Block
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
When using the core File block to upload a PDF document, the default behavior is to display it as an embed. This must be manually turned off each time the block is used.
What is your proposed solution?
Ideally, WordPress would remember that you've turned off displaying the file as an embed.
An alternative would be a function or setting in the block's block.json file to disable this behavior. Looking through the file, I did not see a way to do this at the present time.
The text was updated successfully, but these errors were encountered: