1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat: highlithg sql in notes, history and console

This commit is contained in:
2023-12-22 18:06:27 +01:00
parent 08e5a13f72
commit bfa3924d57
8 changed files with 82 additions and 10 deletions

View File

@ -43,7 +43,11 @@
</div>
</div>
<div class="form-group">
<label class="form-label">{{ t('general.content') }}</label>
<label class="form-label">{{ t('general.content') }} <small
v-if="localNote.type !== 'query'"
style="line-height: 1;"
class="text-gray"
>({{ t('application.markdownSupported') }})</small></label>
<BaseTextEditor
v-model="localNote.note"
:mode="editorMode"
@ -110,7 +114,7 @@ watch(() => localNote.value.type, () => {
});
onBeforeMount(() => {
localNote.value = props.note;
localNote.value = JSON.parse(JSON.stringify(props.note));
});
</script>