Access Event in Diagnostic apply fn #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I need to stop propagation on the
mousedownevent fired by clicking on a diagnostic action. Ideally I wouldn't need to override the entire component withrenderMessageto do so, I could just have access to themousedownevent here.I'd recommend you have a plugin add an event handler to the outer editor element and check whether the event needs to be stopped by looking at its target from there. Passing events to these seems like a conceptual mismatch and limits the situations in which we can potentially use them.
@marijnh those events don't propagate to the view it seems. Perhaps because they're in a tooltip? Added an EventHandler in a tooltip and never saw the mousedown or click event fire.
They don't propagate through the content, but the outer
view.domelement should get them (assuming you aren't using theparentoption totooltips).Pull request closed