codex-team / codex-team/editor.js
The Inline Toolbar no longer allows multiple custom input tools
- 主要言語
- TypeScript
- スター
- 31.9k
- フォーク
- 2.2k
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 2
説明
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?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、link ツールと text color または classname ツールなど、2つのカスタム inline input tools で問題を再現し、inline toolbar の実装を調べます。現在の動作を以前の長いリストの動作と比較し、inline tool のドキュメントを確認します。同じ選択範囲で複数のカスタム入力を、一方が他方をオフに切り替えることなくアクティブなままにでき、ドキュメントもそれに合わせて更新されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100