* Reinstate check for non-empty text content

This commit is contained in:
Michaël Van Canneyt 2022-10-04 09:41:27 +02:00
parent 270fdb1e02
commit 426000efcd

View File

@ -3195,6 +3195,7 @@ end;
procedure TCustomTagWidget.ApplyWidgetSettings(aElement: TJSHTMLElement); procedure TCustomTagWidget.ApplyWidgetSettings(aElement: TJSHTMLElement);
begin begin
inherited ApplyWidgetSettings(aElement); inherited ApplyWidgetSettings(aElement);
if FTextContent<>'' then
if TextMode=tmText then if TextMode=tmText then
aElement.InnerText:=TextContent aElement.InnerText:=TextContent
else else