codex-team / codex-team/editor.js

The Inline Toolbar no longer allows multiple custom input tools

Abierto
#2,829 1 comentario 0 reacciones 0 asignados Ver en GitHub
questionable
Lenguaje dominante
TypeScript
Estrellas
31.9k
Forks
2.2k
Merge medio
1 d 13 h
PR fusionados (30 d)
2

Descripción

The new inline toolbar breaks our implementation of inline tools that are custom inputs instead of toggles.

Previously you could have multiple inline tools that opened custom inputs because each tool would open in a long list one after the other. But the recent updates make it so you can have only 1 of these custom inputs active at a time, and if you select another one it will toggle off your current selection.

For example, I wouldn't be able to have a custom link AND a custom text color/classname on this selection at the same time because it will automatically remove my current selection when I choose the other one.

![Screenshot 2024-09-26 at 12 12 21 PM](https://github.com/user-attachments/assets/291e3a82-789f-4478-a563-b1031e504f47)
![Screenshot 2024-09-26 at 12 11 05 PM](https://github.com/user-attachments/assets/6d1eeba2-a206-4334-ab3c-8a25874d826d)

The documentation isn't up to date for these changes, is there a way to remove this behaviour or fix this issue?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza reproduciendo el problema con dos herramientas de entrada inline personalizadas, como una herramienta de link y otra de text color o classname, e inspecciona la implementación de la barra de herramientas inline. Compara el comportamiento actual con el comportamiento anterior de lista larga y revisa la documentación de las herramientas inline. Se considera terminado cuando varias entradas personalizadas pueden permanecer activas en la misma selección sin desactivarse entre sí, y la documentación se ha actualizado en consecuencia.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
frontend
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.