aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-02-22 23:50:36 -0500
committerbobzel <zzzman@gmail.com>2023-02-22 23:50:36 -0500
commitb35b6341c8f1ef66d329ea1a50e85d5d6faa8700 (patch)
tree79e376f3b7acf5228dc581ff56e96d71b0062235 /src
parentb312f1df3a38d0019063b25e96edcdf5de080df4 (diff)
fixed highlighting images with links.
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/DocumentView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 0a923bca9..9d966cdb2 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -1217,6 +1217,7 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps
case StyleProp.ShowTitle: return '';
case StyleProp.PointerEvents: return 'none';
case StyleProp.LinkSource: return this.props.Document; // pass the LinkSource to the LinkAnchorBox
+ case StyleProp.Highlighting: return undefined;
}
return this.props.styleProvider?.(doc, props, property);
};