augushong
|
2233b2b71a
|
fix(phone-image): 修复代码块/表格转换DOM索引失效bug,增加重新生成按钮和中间栏表格样式
- convertCodeBlocks/convertTables: 改为每次重新find().first()替代缓存索引
- 修复replaceWith后jQuery集合中后续元素DOM引用失效的问题
- 新增'重新生成'按钮,强制重新渲染缩略图
- 新增中间栏content-flow-block表格CSS样式
|
2026-05-03 22:56:34 +08:00 |
|
augushong
|
1d3d935899
|
fix: 修复phone-image截图循环idx参数传递bug导致无限循环
capturePageViaHtml2Canvas函数将idx作为参数传入,.then回调中idx++只修改参数副本而非闭包变量,
导致runCaptureLoop中idx永远为0,截图循环无限重复处理第一页。
改为传递onDone回调函数,在回调中正确修改闭包变量idx。
|
2026-05-03 21:49:53 +08:00 |
|
augushong
|
c51cd8beb5
|
feat(phone-image): add save button and state management
|
2026-05-03 21:16:00 +08:00 |
|
augushong
|
f08957ad7e
|
fix(phone-image): replace estimate-based pagination with DOM-measured heights
|
2026-05-03 21:04:23 +08:00 |
|
augushong
|
2ba48fd58d
|
feat(phone-image): pure image page optimization - use original image instead of screenshot
|
2026-05-03 10:23:39 +08:00 |
|
augushong
|
6cff21d50f
|
feat(phone-image): table-to-image conversion with beautified CSS styles
|
2026-05-03 10:17:34 +08:00 |
|
augushong
|
d35172e14e
|
fix(phone-image): fix blank thumbnail preview - visibility and wrapper
|
2026-05-03 10:07:13 +08:00 |
|
augushong
|
9dc37283a3
|
feat(phone-image): code blocks converted to images via prismjs + html2canvas
|
2026-05-03 09:19:31 +08:00 |
|
augushong
|
f3f209c403
|
refactor(phone-image): thumbnail alignment toggles and saveImages uses staging
|
2026-05-03 09:14:20 +08:00 |
|
augushong
|
8aeda4c518
|
refactor(phone-image): JS engine renders thumbnails via html2canvas
|
2026-05-03 09:08:15 +08:00 |
|
augushong
|
9dce9854c8
|
fix(phone-image): T7 integration fixes
Fix 3 bugs found during Playwright integration testing:
1. Template syntax: {|json_encode|default='{}'} -> PHP native (curly braces parsed as TP6 tags)
2. jQuery event namespace mismatch: off('click.phoneImage') -> off('click') to match on('click')
3. Migration executed on server
All 6 Playwright test scenarios passed: layout, content flow, preview, alignment, font size, toolbar buttons
|
2026-05-02 09:54:59 +08:00 |
|
augushong
|
03e9a30242
|
fix(phone-image): saveImages always sends current content_html
Ensure postData.content_html (modified by break insertions) is sent to server, not the original hidden div content
|
2026-05-02 09:31:07 +08:00 |
|
augushong
|
b53ba68f68
|
feat(phone-image): add content flow, interactive breaks, per-page alignment and long image export
T9: renderContentFlow(), insertPageBreak(), removePageBreak(), renderAlignmentToggles(), exportLongImage()
- Content flow renders blocks to #content-flow with interactive break-inserters
- Page break markers have delete buttons
- Per-page alignment toggle buttons on each content page
- Long image export hides interactive elements before html2canvas capture
- Event delegation with proper unbind/rebind to avoid duplicates
|
2026-05-02 09:24:31 +08:00 |
|
augushong
|
bcd00e32ea
|
refactor(phone-image): Wave 2 - form, controller, JS engine, API updates
T3: Add cover_text textarea to post edit form
T4: Update Post controller - content copy + cover_text passing
T5: Refactor JS engine - remove old APIs, add forced breaks, page numbers, per-page alignment
T8: Add cover_text to API default_fields, apidoc (4 places), AGENTS.md
|
2026-05-02 09:16:05 +08:00 |
|
augushong
|
34fe255829
|
feat(phone-image): 增加翻页预览与无封面图排版样式
- 为手机截图生成器添加翻页功能,支持在生成前预览各页内容
- 增加无封面图时的排版样式,使用装饰线条和居中布局
- 改进图片处理逻辑,清除内联样式并展平嵌套包装元素
- 修复 models.dev 同步接口,支持 GET 请求获取缓存数据
- 优化网络请求,添加直连失败后的本地代理重试机制
|
2026-05-01 16:31:26 +08:00 |
|
augushong
|
83a2bd48a2
|
feat(post): 新增手机图片排版与AI智能排版功能
- 新增手机图片排版功能,支持小红书/抖音尺寸输出
- 新增AI智能排版顾问,支持内容分析与优化推荐
- 新增AI供应商管理,支持多渠道配置与同步
- 新增文章输出管理页面,支持图片预览与批量下载
- 新增字体文件与排版样式配置
|
2026-05-01 12:23:17 +08:00 |
|
augushong
|
3bc46a4b9c
|
初始化项目
|
2020-08-07 23:49:50 +08:00 |
|