[Fix] Text editor with value image not displaying in the print form
This commit is contained in:
parent
fed10cb199
commit
2ccc7593b1
1 changed files with 3 additions and 0 deletions
|
|
@ -338,6 +338,9 @@ def has_value(df, doc):
|
|||
return False
|
||||
|
||||
elif isinstance(value, string_types) and not strip_html(value).strip():
|
||||
if df.fieldtype in ["Text", "Text Editor"]:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
elif isinstance(value, list) and not len(value):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue