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

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

Loading…
Cancel
Save