fix: Show Text Editor for Content Type Rich Text

This commit is contained in:
Faris Ansari 2019-10-02 14:00:46 +05:30
parent 4acf9ad543
commit fcd638020c

View file

@ -109,7 +109,7 @@
{
"depends_on": "eval:doc.content_type==='Rich Text'",
"fieldname": "main_section",
"fieldtype": "HTML Editor",
"fieldtype": "Text Editor",
"ignore_xss_filter": 1,
"in_global_search": 1,
"label": "Main Section"
@ -118,14 +118,14 @@
"depends_on": "eval:doc.content_type==='Markdown'",
"fieldname": "main_section_md",
"fieldtype": "Markdown Editor",
"label": "Main Section"
"label": "Main Section (Markdown)"
},
{
"depends_on": "eval:doc.content_type==='HTML'",
"fieldname": "main_section_html",
"fieldtype": "HTML Editor",
"ignore_xss_filter": 1,
"label": "Main Section"
"label": "Main Section (HTML)"
},
{
"collapsible": 1,
@ -242,7 +242,7 @@
"idx": 1,
"is_published_field": "published",
"max_attachments": 20,
"modified": "2019-09-03 04:04:29.585330",
"modified": "2019-10-02 13:58:50.825481",
"modified_by": "Administrator",
"module": "Website",
"name": "Web Page",
@ -264,4 +264,4 @@
"sort_order": "ASC",
"title_field": "title",
"track_changes": 1
}
}