mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-07-01 18:32:48 +08:00
docs(phone-image): 产出排版功能架构文档
fix(phone-image): 修复分页标记丢失bug,消除双数据源问题 - 新增 getContentHtml() 和 updateConfig() 引擎API - 保存逻辑改用引擎内部 content_html,不再从DOM读取 - doRender 改用 updateConfig,配置变更不重置内容 - loadFromHistory 改用 init+render 全量初始化 - PHP/JS 配置字段对齐(移除template/font,新增pageAlignments)
This commit is contained in:
@@ -1482,6 +1482,14 @@ var PhoneImageEngine = (function () {
|
||||
setPageAlignment: setPageAlignment,
|
||||
insertPageBreak: insertPageBreak,
|
||||
removePageBreak: removePageBreak,
|
||||
getContentHtml: function () {
|
||||
return postData.content_html;
|
||||
},
|
||||
updateConfig: function (newConfig) {
|
||||
if (newConfig) {
|
||||
$.extend(config, newConfig);
|
||||
}
|
||||
},
|
||||
exportLongImage: exportLongImage
|
||||
};
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user