Releases: apkcore/apkcore-tts-plugin
Releases · apkcore/apkcore-tts-plugin
1.0.1
🔧 修复
修复 Obsidian 官方审核发现的所有问题:
代码质量改进
- ✅ 重命名示例类名为专业的插件类名
- ✅ 使用 CSS 类代替直接设置样式
- ✅ 使用 Setting API 的 .setHeading() 创建标题
- ✅ 移除默认快捷键,避免与用户设置冲突
- ✅ 使用 activeDocument 代替 document,支持弹出窗口
Promise 处理改进
- ✅ 修复所有未处理的 Promise 警告
- ✅ 修复 async Promise executor 问题
- ✅ 正确的错误类型传递
弃用 API 清理
- ✅ 移除已弃用的 setDynamicTooltip
Artifact Attestations
- ✅ 所有 release 资源都包含 GitHub artifact attestations
所有更改均通过 TypeScript 编译检查。
v1.0.0 - Initial Release
Features
- Dual TTS engine support (Browser TTS + Edge TTS)
- Rich Chinese voice support with dynamic voice list
- Read selected text or entire document
- Customizable speech rate and voice selection
- Keyboard shortcuts and context menu support
- Floating stop button during playback
Installation
Download main.js, manifest.json, and styles.css from the assets below and place them in your vault's .obsidian/plugins/apkcore-tts/ folder.