refactor(editor): Standardize components sections order (no-changelog) (#10540)
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
<template>
|
||||
<div :class="$style.editor" :style="isReadOnly ? 'opacity: 0.7' : ''">
|
||||
<div ref="jsEditorRef" class="ph-no-capture js-editor"></div>
|
||||
<slot name="suffix" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { history, toggleComment } from '@codemirror/commands';
|
||||
import { javascript } from '@codemirror/lang-javascript';
|
||||
@@ -124,6 +117,13 @@ const extensions = computed(() => {
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="$style.editor" :style="isReadOnly ? 'opacity: 0.7' : ''">
|
||||
<div ref="jsEditorRef" class="ph-no-capture js-editor"></div>
|
||||
<slot name="suffix" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" module>
|
||||
.editor {
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user