Function dedentIfNotLaunchingTooltip
- dedentIfNotLaunchingTooltip(target): boolean
Parameters
- target: {
dispatch: ((transaction) => void);
dom: HTMLElement;
state: EditorState;
}dispatch: ((transaction) => void)
- (transaction): void
Returns void
state: EditorState
Returns boolean
Prevent dedenting when launching inspection request (a.k.a tooltip).
This function should be removed once a better way to prevent default CodeMirror commands is implemented, as tracked in https://github.com/jupyterlab/jupyterlab/issues/15897