codex-team / codex-team/editor.js
The Inline Toolbar no longer allows multiple custom input tools
- Langage dominant
- TypeScript
- Étoiles
- 31.9k
- Forks
- 2.2k
- Merge moyen
- 1 j 13 h
- PR mergées (30 j)
- 2
Description
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.


The documentation isn't up to date for these changes, is there a way to remove this behaviour or fix this issue?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire le problème avec deux outils de saisie inline personnalisés, par exemple un outil de link et un outil de text color ou classname, puis examinez l’implémentation de la barre d’outils inline. Comparez le comportement actuel avec l’ancien comportement de liste longue et consultez la documentation des outils inline. Le travail est considéré comme terminé lorsque plusieurs saisies personnalisées peuvent rester actives sur la même sélection sans se désactiver mutuellement, et que la documentation a été mise à jour en conséquence.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100