From 2666728041d78c758564e055eaba95f598dca659 Mon Sep 17 00:00:00 2001 From: Xwite <82232510+Xwite@users.noreply.github.com> Date: Fri, 19 May 2023 18:13:03 +0800 Subject: [PATCH] =?UTF-8?q?web=EF=BC=9A=20update=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/web/src/config/bookSourceEditConfig.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/web/src/config/bookSourceEditConfig.js b/modules/web/src/config/bookSourceEditConfig.js index f1bb37ce8..08cfed671 100644 --- a/modules/web/src/config/bookSourceEditConfig.js +++ b/modules/web/src/config/bookSourceEditConfig.js @@ -365,6 +365,13 @@ export default { type: "String", hint: "选择章节链接 (规则结果为String类型的Url)", }, + { + title: "标题处理", + namespace: "ruleToc", + id: "formatJs", + type: "String", + hint: "直接填写js, 提供index和tittle变量", + }, { title: "卷名标识", namespace: "ruleToc", @@ -419,6 +426,13 @@ export default { type: "String", hint: "选择正文内容 (规则结果为String)", }, + { + title: "标题规则", + namespace: "ruleContent", + id: "title", + type: "String", + hint: "获取结果将会覆盖章节标题 (规则结果为String)", + }, { title: "翻页规则", namespace: "ruleContent",