codex-team/editor.js

Stop highlighting of block when dropping on file input

Open

#2,980 创建于 2026年1月23日

在 GitHub 查看
 (11 评论) (0 反应) (0 负责人)TypeScript (26,602 star) (1,985 fork)batch import
good first issue

描述

Describe a bug. I've created a drop zone to upload files. After the file is uploaded the block is highlighted blue. (In screenshot below). How do I stop this from happening ?

Expected behavior: Uploaded photo shouldn't have the blue highlighted box around it because I don't want the block to be selected.

Screenshots:

Device, Browser, OS: Chrome

Editor.js version: Latest version

Plugins you use with their versions:

贡献者指南

Stop highlighting of block when dropping on file input · codex-team/editor.js#2980 | Good First Issue