What's Changed
chore(release): v0.45.14 — 修复区块按钮定位与原生对话框串行化
- editor: 悬浮的拖拽/插入按钮改为跟随光标锚定而非仅靠鼠标坐标,修复了大纲面板展开时,鼠标从正文移向按钮途中按钮中途消失的问题(根因是大纲的宽度调节手柄此前占用了按钮所在的左侧通道)
- editor: 按钮位置随编辑区滚动做数值级同步偏移,修复滚动后按钮悬浮在原处、与所属区块脱节的问题;失焦、切换文件、光标移动到代码块/空行等场景也会正确回退定位
- editor: 新增独立的内容列宽度拖拽手柄(ContentWidthHandle),从大纲面板手柄中拆出并移到内容框右边缘,不再与左侧的拖拽/插入按钮争用同一条 22px 通道
- editor: 新增“+”块插入菜单(BlockInsertMenu + block-insert-items.ts),支持一键插入标题、列表、代码块、表格、数学块、加粗/斜体等 18 种 Markdown 结构,键盘上下选择 + Enter 确认
- dialog/fix: 新增 native-dialog.ts 封装并串行化原生 open/save/ask/message 调用,替换 Sidebar、HistoryPanel、KnowledgeBaseManager 等 9 处组件对
@tauri-apps/plugin-dialog的直接调用,修复多个对话框并发触发导致关闭标签页时行为错乱、对话框互相打断的问题 - test: 新增 e2e/block-gutter.spec.ts 在真实 WebKit 下覆盖按钮定位/滚动跟随/键盘光标场景,并补齐 content-width、block-insert-items、native-dialog 的单元测试
- chore: 版本号同步至 v0.45.14(package.json / Cargo.toml / Cargo.lock / tauri.conf.json)
See the assets below to download and install.
macOS
Homebrew (recommended):
brew tap zouwei/moraya
brew install --cask moraya
Manual: Download the .dmg file below, drag Moraya to Applications, and double-click to launch.
The app is signed with an Apple Developer ID and notarized by Apple — no Gatekeeper workaround needed.
Linux
- .deb —
sudo dpkg -i moraya_*.deb - .AppImage —
chmod +x Moraya_*.AppImage && ./Moraya_*.AppImage
Windows
Run the .msi installer.