Add EditorInput component on Instance tab

This commit is contained in:
Angelina Filippova 2020-09-15 19:00:50 +03:00
parent aa8611ba80
commit 27f8ac9801
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,6 @@
<template> <template>
<div v-if="!loading" :class="isSidebarOpen" class="form-container"> <div v-if="!loading" :class="isSidebarOpen" class="form-container">
<editor-input />
<el-form :model="instanceData" :label-position="labelPosition" :label-width="labelWidth"> <el-form :model="instanceData" :label-position="labelPosition" :label-width="labelWidth">
<setting :setting-group="instance" :data="instanceData"/> <setting :setting-group="instance" :data="instanceData"/>
</el-form> </el-form>
@ -53,11 +54,13 @@
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import i18n from '@/lang' import i18n from '@/lang'
import Setting from './Setting' import Setting from './Setting'
import { EditorInput } from './inputComponents'
import _ from 'lodash' import _ from 'lodash'
export default { export default {
name: 'Instance', name: 'Instance',
components: { components: {
EditorInput,
Setting Setting
}, },
computed: { computed: {

View file

@ -1,4 +1,5 @@
export { default as EditableKeywordInput } from './EditableKeywordInput' export { default as EditableKeywordInput } from './EditableKeywordInput'
export { default as EditorInput } from './EditorInput'
export { default as IconsInput } from './IconsInput' export { default as IconsInput } from './IconsInput'
export { default as ImageUploadInput } from './ImageUploadInput' export { default as ImageUploadInput } from './ImageUploadInput'
export { default as LinkFormatterInput } from './LinkFormatterInput' export { default as LinkFormatterInput } from './LinkFormatterInput'