9001 / 9001/copyparty

Broken resize handle in markdown editor

未关闭 适合新手
#1,291 0 条评论 0 个 reaction 已指派 1 人 已被 @9001 认领 在 GitHub 查看
bug
主要语言
Python
星标
46.7k
派生
1.9k
平均合并
9 天 2 小时
30 天内合并 PR
4

描述

### Describe the bug
In the basic markdown editor, a handle appears in the bottom right corner to resize the typing box. When dragging on this handle, the interface breaks. This affects both the side by side and fullscreen editors.

### Expected behavior
I would expect there to not be a handle in editor mode. In side by side mode, I would expect no handle or the handle to cleanly adjust the space given to the editor versus the preview.

### Screenshots
![](https://copyparty.adrian.place/u/Screenshot_20260210_182050.png)

### Server details
* **server OS / version:** archlinux
* **what copyparty did you grab:** arch
* **how you're running it:** systemd service
* run copyparty with `--version` and grab the last 3 lines (they start with `copyparty`, `CPython`, `sqlite`) and paste them below this line:

```
copyparty v1.20.6 "sftp is fine too" (2026-01-31)
CPython v3.14.2 on Linux64 [GCC 15.2.1 20251112]
sqlite 3.51.2*1 | jinja 3.1.6 | pyftpd (None) | tftp (None) | miko (None)
```

### Client details
* OS version: Arch Linux, KDE Plasma
* Browser version: Firefox 146.0.1

贡献指南

打开贡献指南

调研方向

在前端代码中查找 Markdown 编辑器组件,它可能位于处理 UI 交互的 JavaScript 文件中。调整大小手柄可能是在 CSS 中定义的,也可能是通过 JavaScript 添加的。检查手柄上的拖动事件对应的事件监听器。在本地复现该 bug 并检查元素,确认涉及哪些类或 ID,以此进行测试。确保手柄能够正常工作,或者在编辑器模式下隐藏,从而验证修复是否有效。

由索引模型根据 Issue 内容生成。

评估

技术栈
css, html, javascript
领域
frontend, web-dev
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。