mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
rich text
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
{
|
{
|
||||||
"fetch_from": "question_link.question",
|
"fetch_from": "question_link.question",
|
||||||
"fieldname": "question",
|
"fieldname": "question",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Text Editor",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Question",
|
"label": "Question",
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ class Question {
|
|||||||
make_question() {
|
make_question() {
|
||||||
let question_wrapper = document.createElement('h5');
|
let question_wrapper = document.createElement('h5');
|
||||||
question_wrapper.classList.add('mt-3');
|
question_wrapper.classList.add('mt-3');
|
||||||
question_wrapper.innerText = this.question;
|
question_wrapper.innerHTML = this.question;
|
||||||
this.wrapper.appendChild(question_wrapper);
|
this.wrapper.appendChild(question_wrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user