You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever the VitalSourceInjector injector is used, a Guest is not instantiated in the Host window. As a result, annotating is only possible in the VitalSource viewer even though Hypothesis is loaded in the parent frame as well.
Whenever the HypothesisInjector is used, annotations are always enabled in the Host window. It seems there are valid use cases where this is simply not necessary, for example an LMS UI loading a reader type viewer in an iframe.
Perhaps a configuration property can be introduced that determines whether the Guest gets initialised?
The text was updated successfully, but these errors were encountered:
jwgmeligmeyling
changed the title
Mechanism of disabling annotations on the host frame for enable-annotations iframe use cases
Mechanism for disabling creating annotations and displaying highlights on the host frame for enable-annotations iframe use cases
Jul 27, 2024
Whenever the
VitalSourceInjector
injector is used, aGuest
is not instantiated in the Host window. As a result, annotating is only possible in theVitalSource
viewer even though Hypothesis is loaded in the parent frame as well.Whenever the
HypothesisInjector
is used, annotations are always enabled in the Host window. It seems there are valid use cases where this is simply not necessary, for example an LMS UI loading a reader type viewer in an iframe.Perhaps a configuration property can be introduced that determines whether the
Guest
gets initialised?The text was updated successfully, but these errors were encountered: