mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
parent
00707224ca
commit
c793b60f58
2 changed files with 1 additions and 5 deletions
|
@ -5,10 +5,6 @@
|
|||
*/
|
||||
|
||||
import { EuiButton, EuiFlexGroup } from '@elastic/eui';
|
||||
// @ts-ignore
|
||||
import { renderMarkdown } from 'monaco-editor/esm/vs/base/browser/htmlContentRenderer';
|
||||
// @ts-ignore
|
||||
import { tokenizeToString } from 'monaco-editor/esm/vs/editor/common/modes/textToHtmlTokenizer';
|
||||
import React from 'react';
|
||||
import { HoverState } from './hover_widget';
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ export class ContentHoverWidget extends ContentWidget {
|
|||
lineNumber: this.lastRange.startLineNumber,
|
||||
column: this.lastRange.startColumn,
|
||||
});
|
||||
const action = this.editor.getAction('editor.action.goToDeclaration');
|
||||
const action = this.editor.getAction('editor.action.revealDefinition');
|
||||
action.run().then(() => this.hide());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue