Automattic / Automattic/blocks-everywhere
bbPress: Pasting images occurs without upload / saving capability.
- Dominant language
- PHP
- Stars
- 94
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
As reported elsewhere, it's possible to paste images into the bbPress reply form, which seems to trigger the image transform.
I'm not immediately able to discern if this is a Blocks Everywhere or Gutenberg Image Block Transforms bug.
I suspect this might be a Gutenberg Bug, as the Image block 'from files' transform shouldn't run if the `hasUploadPermission` flags aren't set I imagine.
Filing here as a start, since that's where it was noticed.
Example: Testing with https://wordpress.org/support/forum/installation/#new-topic-0 - Triggering the image block, and then pasting an image.
https://github.com/user-attachments/assets/1d023266-4dcc-4eb2-bcd8-55db36efdff1
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the paste action in the bbPress reply form at the linked support URL, then compare Blocks Everywhere behavior with Gutenberg's Image block “from files” transform and the hasUploadPermission flags. Done means identifying which component triggers the image transform and confirming that pasting does not proceed when upload or saving capability is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100