codex-team / 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
#2,643 2 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.