codex-team/editor.js

[Bug] Cross block selection selected state gets wrong when pointer moves out edit area

オープン

#2,167 opened on 2022/11/16

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (1,985 件のフォーク)batch import
buggood first issueimportant

Repository metrics

Stars
 (26,602 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description Cross block selection selected state gets wrong when pointer moves out edit area and go back then.

Steps to reproduce:

  1. start a cross block selection session, and select some block from bottom to top.
  2. move the pointer out of the edit area.
  3. move the pointer back into the edit area some where below the selection start point. There will be a selected block floating above the other selected blocks. Also, select blocks from top to bottom at step 1 and move pointer into some where above the start point at step 3, will reproduce the bug

Expected behavior:

Screenshots:

Device, Browser, OS: Chrome 107 on macOs

Editor.js version: 2.25.0

Plugins you use with their versions:

コントリビューターガイド