Add a new `hasInlineControls` option to `Image` component
Evaluación
Este issue todavía no se ha evaluado.
Descripción
There often are instances where we either need to have multiple images in one block or where the toolbar replaces flow isn't ideal. For those cases, it would be great to also offer an inline solution for replacing and or removing images.
The idea here would be to add a new optional property to the Image component which is a boolean to enable this additional behavior.
When this boolean is present the block will show inline controls when the block is currently selected. These controls should be absolutely positioned so that they don't create any sort of layout shift.
These controls should also take into account whether the image is marked as optional or not. If it is optional the remove button should also be shown inline. Otherwise only the replace button should be shown.
- Lenguaje dominante
- TypeScript
- Estrellas
- 330
- Forks
- 54
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de 10up/block-components
-
Repeater with allowReordering logs React key and isDragging warningsPosiblemente ocupada @s3rgiosan la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
10up/block-components#419 · 1 comentario ·
-
ContentPicker SortableList logs a useSelect unstable value warningPosiblemente ocupada @s3rgiosan la tomó hace 5 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
10up/block-components#421 · 1 comentario ·
-
Subpath bundles duplicate PostContext, and the root import can't be tree-shakenPosiblemente ocupada @fabiankaegy la tomó hace 19 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
10up/block-components#417 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
10up/block-components#413 ·
-
Upgrading to React 19Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
10up/block-components#412 ·
Todos los issues de 10up/block-components
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 87/100
Los mantenedores suelen responder en 1 día
-
🛠️ dette technique
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
betagouv/mon-entreprise#4752 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
franciscoBSalgueiro/en-croissant#1111 ·
Los mantenedores suelen responder en 2 días
-
area/providers type/feature version/v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
anomalyco/opencode#64845 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día