codex-team/editor.js

Bug: clicking outside of an editor should clear currentBlock (call dropPointer) even if selection was inside of editor before the click

オープン

#2,643 opened on 2024/02/29

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

Repository metrics

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

説明

Describe a bug.

Steps to reproduce:

  1. Go to example_dev.html
  2. Click on somewhere outside of the editor
  3. Press '/'

Expected behavior: Toolbox shouldn't be opened, because I've already went out of the editor by clicking outside

Actual: Toolbox is still opened because we haven't cleared currentBlock

Device, Browser, OS: Any

Editor.js version: 2.29.1

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