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

Open

#2643 aperta il 29 feb 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (1985 fork)batch import
buggood first issue

Metriche repository

Star
 (26.602 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor