codex-team / codex-team/editor.js

Inconsistent behavior when interacting with different inline tools

Offen
#1,237 0 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
31.9k
Forks
2.2k
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.