• 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

    Parameters

    • target: {
          dispatch: ((transaction) => void);
          dom: HTMLElement;
          state: EditorState;
      }
      • dispatch: ((transaction) => void)
          • (transaction): void
          • Parameters

            • transaction: Transaction

            Returns void

      • dom: HTMLElement
      • state: EditorState

    Returns boolean