fix: wrap text editor fieldtype with ql-snow class
This commit is contained in:
parent
cca69bcb3e
commit
ea3917e199
1 changed files with 3 additions and 0 deletions
|
|
@ -94,4 +94,7 @@ def format_value(value, df=None, doc=None, currency=None, translated=False):
|
|||
hide_days = df.hide_days
|
||||
return format_duration(value, hide_days)
|
||||
|
||||
elif df.get("fieldtype") == "Text Editor":
|
||||
return "<div class='ql-snow'>{}</div>".format(value)
|
||||
|
||||
return value
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue