rich text

This commit is contained in:
madar2020
2020-09-22 15:22:31 +03:00
parent e3c6128638
commit 9dd4f419d5
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
{
"fetch_from": "question_link.question",
"fieldname": "question",
"fieldtype": "Data",
"fieldtype": "Text Editor",
"in_list_view": 1,
"label": "Question",
"read_only": 1

View File

@@ -140,7 +140,7 @@ class Question {
make_question() {
let question_wrapper = document.createElement('h5');
question_wrapper.classList.add('mt-3');
question_wrapper.innerText = this.question;
question_wrapper.innerHTML = this.question;
this.wrapper.appendChild(question_wrapper);
}