Function dedentIfNotLaunchingTooltip
- dedentIfNotLaunchingTooltip(
target: {
dispatch: (transaction: Transaction) => void;
dom: HTMLElement;
state: EditorState;
},
): boolean Parameters
- target: {
dispatch: (transaction: Transaction) => void;
dom: HTMLElement;
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