remotes/origin/hotfix/LIL-691
gzbender 7 years ago
parent 00e3dbd8ba
commit ddb3bdf723
  1. 36
      web/src/components/blocks/BlockAdd.vue

@ -69,50 +69,38 @@
addBlockText() {
this.add({
type: 'text',
data: {
title: '',
text: '',
}
title: '',
text: '',
})
},
addBlockImage() {
this.add({
type: 'image',
data: {
title: '',
image_id: null,
image_url: null,
}
title: '',
img: {},
})
},
addBlockImageText() {
this.add({
type: 'image-text',
data: {
title: '',
text: '',
image_id: null,
image_url: null,
}
title: '',
img: {},
text: '',
})
},
addBlockImages() {
this.add({
type: 'images',
data: {
title: '',
text: '',
images: [],
}
title: '',
text: '',
gallery_images: [],
})
},
addBlockVideo() {
this.add({
type: 'video',
data: {
title: '',
video_url: '',
}
title: '',
video_url: '',
})
},
}

Loading…
Cancel
Save