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 创建于 2024年2月29日

 (2 条评论) (0 个反应) (0 位负责人)TypeScript (1,985 个派生)batch import
buggood first issue

仓库指标

星标
 (26,602 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南