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
2aa60f87ed
feat(phone-image): add cover_text migration and rewrite CSS to xiaohongshu classic style
...
T1: Add cover_text text field to post table for phone image layout cover text
T2: Rewrite phone-image-templates.css - remove tpl-magazine/tpl-mixed, merge tpl-minimal into base styles, add content-flow/break-inserter/page-break-marker/page-alignment-toggle styles
2026-05-02 09:06:47 +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
aed4b285d8
feat: 添加Vditor编辑器支持并扩展文件上传功能
...
- 新增Vditor编辑器静态资源文件,包括图片、字体和样式文件
- 在文件上传控制器中添加vditorSave方法,支持Vditor编辑器文件上传
- 在文章创建页面添加编辑器类型选择(富文本/Markdown)
- 更新.gitignore文件,排除Playwright和QA截图目录
- 扩展UploadFiles类以支持Vditor编辑器的文件上传格式
2026-04-30 22:27:03 +08:00
augushong
c17b69fcdf
feat: 增加平台信息跳转
2025-10-05 14:28:46 +08:00
augushong
d9452530e0
feat: 完善三方平台设置;完善导出管理
2025-06-16 13:38:47 +08:00
augushong
70b17cbd10
feat: 完成三方平台发布管理
2025-05-05 10:29:49 +08:00
augushong
c3b92ca169
优化seo设置;优化编辑
2023-11-16 11:30:28 +08:00
augushong
f534c7c473
修改右侧背景色
2023-06-30 16:44:28 +08:00
augushong
331feb8351
优化标题导航样式
2023-06-29 18:11:59 +08:00
augushong
72a6cce5e3
增加图片点击放大;优化标题导航效果
2023-06-29 18:06:51 +08:00
augushong
f567fffbfa
增加文章左侧标题导航
2023-06-29 17:52:06 +08:00
augushong
95d80fe568
优化用户信息展示
2023-06-28 11:17:18 +08:00
augushong
65e1800c6f
增加访问记录功能
2023-06-28 11:12:30 +08:00
augushong
5d854f8197
修改字体大小;
2022-06-09 14:32:43 +08:00
augushong
8bc73f83de
完成防采集版权声明;
2022-05-30 11:05:29 +08:00
augushong
ff353f0d43
增加链接样式,防止误触;
2022-05-28 18:05:43 +08:00
augushong
1d9377da5f
优化编辑器操作助手;优化文章阅读样式;
2022-05-26 10:22:36 +08:00
augushong
0284f6f2b8
优化文章seo声明;导出面板新增版权声明功能;
2022-05-26 10:12:25 +08:00
augushong
efe2013a9c
优化代码显示;
2022-04-26 17:29:22 +08:00
augushong
6796284a12
优化文章样式;
2022-04-26 16:59:14 +08:00
augushong
d15122f091
新增动态的样式;
2022-03-19 12:33:11 +08:00
augushong
4fda375028
优化性能和轮播图;
2022-03-19 00:18:31 +08:00
augushong
2b1c63015e
优化创建文章,优化代码渲染;
2022-03-15 22:17:09 +08:00
augushong
80b06b0b00
新增导出面板,便于转载拷贝发布;
2022-03-15 00:26:22 +08:00
augushong
491d968d40
完善文章读取和编辑;
2022-03-05 08:53:14 +08:00
augushong
1a7718be0c
基本完成新的编辑器;
2022-03-04 12:11:06 +08:00
augushong
bc828f73e0
完善访问链接;
2022-02-12 19:50:10 +08:00
augushong
bcc07c301e
分页.链接样式
2020-12-28 21:20:13 +08:00
augushong
c2d7db90a5
完成文案分享
2020-08-22 13:44:13 +08:00
augushong
ffc4d5195c
新增作者名称
2020-08-19 16:10:45 +08:00
augushong
9d08fe3b5d
优化自动跳转功能
2020-08-18 12:16:42 +08:00
augushong
6855670c45
自适应手机
2020-08-14 13:24:47 +08:00
augushong
2a04ff970c
新增代码高亮,完善文章浏览体验
2020-08-14 13:08:59 +08:00
augushong
cae557ac0c
优化文章编辑分类设置
2020-08-13 00:43:26 +08:00
augushong
3bc46a4b9c
初始化项目
2020-08-07 23:49:50 +08:00