feat: cm 6 json mode + readonly + cursor update

This commit is contained in:
Andrew Bastin
2021-11-06 15:12:35 +05:30
parent e83dbc2e5c
commit 7c65da4cf3
4 changed files with 79 additions and 10 deletions

View File

@@ -145,7 +145,7 @@
<script setup lang="ts">
import { computed, ref, useContext, reactive } from "@nuxtjs/composition-api"
import { useCodemirror } from "~/helpers/editor/codemirror"
import { useNewCodemirror as useCodemirror } from "~/helpers/editor/codemirror"
import { copyToClipboard } from "~/helpers/utils/clipboard"
import "codemirror/mode/javascript/javascript"
import { HoppRESTResponse } from "~/helpers/types/HoppRESTResponse"