Skip to content

Commit f252af2

Browse files
committed
chore(release): 1.2.3
1 parent bc8f570 commit f252af2

File tree

4 files changed

+37
-5
lines changed

4 files changed

+37
-5
lines changed

docs/RELEASE_NOTES_1.2.3.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Dragger 1.2.3 Release Notes
2+
3+
发布日期:2026-02-18
4+
5+
## 概览
6+
7+
本次发布聚焦于移动端选择体验与文档尾部拖拽稳定性,修复了末行/倒数第二行相关的边界行为问题,并对内部移动算法做了统一化重构。
8+
9+
## 新增
10+
11+
- 新增设置项:可自定义“长按进入多文本块选择模式”的触发时间(毫秒)。
12+
13+
## 修复
14+
15+
- 修复移动端在正常输入态(有文本光标)时,长按文本会误触拖拽并破坏原生文本选择的问题。
16+
- 修复拖拽到文档尾部时,目标定位到倒数第二行导致末行合并或空行被删除的问题。
17+
- 修复将末行文本块拖动到其他位置时,尾部偶发多出一行的问题。
18+
- 修复在倒数第二行附近移入/移出时,尾部空行数量异常增减的问题。
19+
20+
## 重构
21+
22+
- 统一 `BlockMover` 的末尾插入规划与删除区间计算,复用相同处理接口,减少特殊分支与重复逻辑。
23+
24+
## 质量与验证
25+
26+
- 已通过本地校验:
27+
- `npm run lint:review`
28+
- `npm run test`
29+
30+
## 兼容性
31+
32+
- 无破坏性变更,对外功能与 API 保持兼容。

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"id": "dragger",
33
"name": "Dragger",
4-
"version": "1.2.2",
4+
"version": "1.2.3",
55
"minAppVersion": "1.0.0",
66
"description": "Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.",
77
"author": "Ariestar",
88
"authorUrl": "https://github.com/Ariestar",
99
"isDesktopOnly": false
10-
}
10+
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dragger",
3-
"version": "1.2.2",
3+
"version": "1.2.3",
44
"description": "Drag and drop any block to rearrange content in Obsidian",
55
"main": "main.js",
66
"scripts": {

0 commit comments

Comments
 (0)