execute current query

This commit is contained in:
Jan Prochazka
2021-12-12 11:00:48 +01:00
parent 2309f99dad
commit ec94b99f4b
3 changed files with 50 additions and 6 deletions

View File

@@ -32,6 +32,10 @@
return domEditor.getEditor();
}
export function getCurrentCommandText(): string {
return domEditor.getCurrentCommandText();
}
$: effect = useEffect(() => {
const editor = domEditor?.getEditor();
if ($tabVisible && conid && database && !readOnly && editor) {