codex-team / codex-team/editor.js

Inconsistent behavior when interacting with different inline tools

Aperta
#1,237 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
31.9k
Fork
2.2k
Merge medio
1g 1h
PR unite (30g)
1

Descrizione

The combination of enabling/disabling some inlinetool has an inconsistent behavior.

Steps to reproduce:
1. Open the inlinetool clicking over a text
2. Select bold
3. Select link
4. Unselect link

Expected behavior:

In step 3, the bold icon lose its active class. But the text is still bold.
In step 4, the text lose its bold style.

Similar issues when try to change from inlineCode to underline:
- add underline, add marker, remove underline: marker tool lose the active class.

Browser: Chrome

Editor.js version: Up 2.17

Plugins you use with their versions:
Link, Bold

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.