Unexpected behavior with part of inline tools
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
まず、レポートに記載されている paragraph、underline、strikethrough ツールを使って Editor.js 2.30.8 で問題を再現します。underline と strikethrough の選択処理を bold と italic と比較し、その後、スタイルを無効にすると選択したテキストだけが変更され、ブロック内の他の箇所ではスタイルが維持されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Describe a bug. When you use styles (reproduced on underline and strikethrough) from inline toolbar for one text block, then press Shift+Enter (soft line break) or continue typing, then try to type something, it will contain old styles (which is probably fine behavior), but when you choose this part of text and try to disable new styles, it will disable it for all the text block, not only for choosen text. When you use "bold" or "italic" styles it works as expected, but with strikethrough and underline I got problems.
Steps to reproduce:
- Go to editorjs text block
- Type any text, for example: "This is my text"
- Choose everything and cover with underline or strikethrough
- choose "text" and try to disable strikethrough or underline
Expected behavior:
Choosen part became not underlined, while other contains it styles.
Video with this bug below:
https://github.com/user-attachments/assets/b5208f67-0fae-4009-bdfc-1e2d58f792d1
https://github.com/user-attachments/assets/c4916612-0534-43be-8787-f5c04526f318
PC, Windows, Chrome 137.0.7151.56.
Editor.js version: 2.30.8
Plugins you use with their versions:
@editorjs/paragraph@^2.11.7
@editorjs/underline@^1.2.1
@sotaproject/strikethrough@^1.0.1
- 主要言語
- TypeScript
- スター
- 32k
- フォーク
- 2.2k
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codex-team/editor.js のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
codex-team/editor.js#3037 ·
-
Floating Promise Anti-Pattern & Premature Caret in Multi-Block Paste対応中かも @anshurajbisoyi98-ctrl が 12 日前に担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codex-team/editor.js#3032 · コメント 1 件 ·
-
Silent Data Loss & Broken Error Contract in Saver.save()対応中かも @Sion612 が 22 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
codex-team/editor.js#3030 ·
-
Complete Omission of block.destroy() in Blocks Collection対応中かも @Minhal128 が 21 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
codex-team/editor.js#3029 ·
-
Bug: Link cannot be removed対応中かも @prathmeshyelne が 128 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
codex-team/editor.js#3005 · コメント 1 件 ·
codex-team/editor.js の issue をすべて見る
似ている issue
-
documentation good first issue
難易度 2/5 半日 初心者へのやさしさ 72/100
sujithputta02/Esapay#13 ·
-
Share dialog: the address book's contact count reads "1 contacts" (no singular form in any language)対応中かも @chibenwa が今日担当しました。 オープンai-driven-qa bug claude Cosmetic
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
linagora/twake-contacts-frontend#271 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Koenkk/zigbee2mqtt#33402 ·
メンテナーはふだん 1 日以内に返信
-
dx P2 platform Stellar Wave Wave 10
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
winsznx/routedock#579 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:ui effort:S enhancement priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信