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
It's basically very difficult and somehow impossible to prevent the interaction of page scripts with the editor. A simpler workaround is to capture the page first and edit the captured version afterwards (assume that scripts are not captured).
HTML editing is a different mode and not comparable, and whether page scripts will act when editing mode is on is still dependent on the page scripts, not WSB.
I see. Unfortunately, I lack experience in Web development...
Worldbrain's Memex extension manages to edit its annotations without firing webpage shortcuts. Maybe it does so because it steals focus from the page? Or because the annotation is not "part" of the page but part of the lateral bar... Sorry, that's all the input I'm able to provide so far.
Thank you for the information. Unfortunately the code of the extension are obfuscated and difficult to research.
It seems to have attached a higher priority event listener to be less likely interfered by page scripts, but still not impossible. A quick demonstration is to open a GitHub page, open the browser console and run the following code:
Bug Description
When editing your sticky note or marker tooltip, if the underlying page listens to keyboard shortcuts, it still gets those as you type.
How to reproduce
For example,
Expected behaviour
When editing annotation text, the underlying page should be put at rest completely.
Additional information
When editing the HTML, the key associated with the shortcut simply doesn't respond.
The text was updated successfully, but these errors were encountered: