更新邮件模板编辑器

This commit is contained in:
jingrow 2026-05-16 22:32:46 +08:00
parent b0c5a3d9a9
commit bb6f1f2712
2 changed files with 4 additions and 5 deletions

View File

@ -4,7 +4,6 @@
"allow_rename": 1,
"autoname": "Prompt",
"creation": "2014-06-19 05:20:26.331041",
"pagetype": "PageType",
"document_type": "Document",
"engine": "InnoDB",
"field_order": [
@ -26,7 +25,7 @@
{
"depends_on": "eval:!pg.use_html",
"fieldname": "response",
"fieldtype": "Text Editor",
"fieldtype": "Jeditor",
"in_list_view": 1,
"label": "Response",
"mandatory_depends_on": "eval:!pg.use_html"
@ -57,12 +56,13 @@
],
"icon": "fa fa-comment",
"links": [],
"modified": "2023-12-12 20:01:07.080625",
"modified": "2026-05-16 22:32:07.029227",
"modified_by": "Administrator",
"module": "Email",
"name": "Email Template",
"naming_rule": "Set by user",
"owner": "Administrator",
"pagetype": "PageType",
"permissions": [
{
"read": 1,
@ -81,6 +81,7 @@
"write": 1
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_order": "DESC",
"states": [],

View File

@ -17,11 +17,9 @@ class EmailTemplate(Page):
if TYPE_CHECKING:
from jingrow.types import DF
response: DF.TextEditor | None
response_html: DF.Code | None
subject: DF.Data
use_html: DF.Check
# end: auto-generated types
@property