codex-team / codex-team/editor.js

Inconsistent behavior when interacting with different inline tools

Đang mở
#1,237 0 bình luận 3 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
31.9k
Fork
2.2k
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.