Commit Graph
17 Commits
Author SHA1 Message Date
gongchengtu b606db4139 fix: 优化缓存机制、工具栏交互和AI图片生成功能
### 缓存功能优化
- fix(useMediaCache): 修复缓存完成后URL不实时切换的问题,添加缓存状态订阅
- fix(TaskQueuePanel): 修复预览对话框不使用缓存URL的问题,新增PreviewContent组件

### AI图片生成
- feat(aspect-ratio): 添加"自动"比例选项,让模型根据提示词自动决定最佳比例
- feat(generation-api): 自动比例时不传递aspectRatio参数给API

### 工具栏交互优化
- fix(popup-toolbar): 工具栏位置改为选中元素顶部边缘中点,与Figma/Excalidraw一致
- fix(tool-button): 将原生title替换为TDesign Tooltip,延迟从1-2秒优化到300ms

### 其他
- feat(url-cache-service): 新增URL缓存服务
- fix(image/video): filesystem兜底处理
2025-12-01 21:33:45 +08:00
liquid c2d21f1d61 feat(工具栏): 添加字体大小选择功能
- 在弹出工具栏中新增字体大小选择按钮
- 支持预设大小和自定义输入
- 修改文本组件样式以支持不同字体大小
- 更新文档说明插入位置规则
2025-09-06 12:18:43 +08:00
pubuzhixing8 55e7d67c2d fix(text): resolve text can not auto break line #173 #169 2025-07-10 14:24:28 +08:00
pubuzhixing8 edd8e69511 fix(text): set whiteSpace: pre to avoid \n is ineffectual (#165) 2025-07-02 22:36:58 +08:00
pubuzhixing8 e08b234255 fix(text): allow scroll to show all text (#156) 2025-06-26 19:23:52 +08:00
pubuzhixing8 eede6bdfbf Link for text (#145)
* feat(link): support link plugin in react-text and support text link function for drawnix

* chore: lint test

* chore: improve text for link

* chore: fix lint

* feat: improve link-popup state

* feat: update link-popup position when scrolling
2025-06-09 23:33:02 +08:00
pubuzhixing8 97ab1d469c feat(text): support insertSoftBreak for text #136 2025-05-16 18:12:10 +08:00
pubuzhixing8 2c8f389d69 fix(text): fix text can not display correctly on windows 10 chrome env #99 (#100) 2025-03-12 10:28:08 +08:00
pubuzhixing8 0e302aa914 feat(text): support update text from outside (#58) 2024-12-12 19:47:07 +08:00
pubuzhixing8 ee78a40282 fix(text): fix text can not editing (#52)
I don't know why 😂
2024-12-09 19:07:48 +08:00
pubuzhixing8 602fc3b421 build: fix ci error and disabled e2e-ci(because deps error) (#49) 2024-12-07 19:13:57 +08:00
pubuzhixing8 b74abc1e98 fix(text): resolve with-text build error (#41) 2024-12-02 19:43:43 +08:00
pubuzhixing8 7be01aced3 feat(text): support soft break (#39) 2024-12-02 18:41:54 +08:00
pubuzhixing8 4b2d964921 feat(active-toolbar): support font color property 2024-10-01 22:03:32 +08:00
pubuzhixing8 ecfe3cda3b feat: import styles 2024-06-18 21:09:17 +08:00
pubuzhixing8 117e5a8b2f feat(drawnix-board): initialize drawnix board 2024-06-18 14:00:59 +08:00
pubuzhixing8 397d865fad feat(drawnix): init drawnix package 2024-06-17 20:45:21 +08:00