+
+ {{ contentLength }}
+
+
+
+
+ {{ form.categoryIds.length }} / 3
+
+
+
+
+
+
+
{{ $t('actions.cancel') }}
@@ -103,7 +73,6 @@
{{ $t('actions.save') }}
-
@@ -116,16 +85,14 @@ import { mapGetters } from 'vuex'
import HcEditor from '~/components/Editor/Editor'
import locales from '~/locales'
import PostMutations from '~/graphql/PostMutations.js'
-import HcCategoriesSelect from '~/components/CategoriesSelect/CategoriesSelect'
+import CategoriesSelect from '~/components/CategoriesSelect/CategoriesSelect'
import TeaserImage from '~/components/TeaserImage/TeaserImage'
-import UserTeaser from '~/components/UserTeaser/UserTeaser'
export default {
components: {
HcEditor,
- HcCategoriesSelect,
+ CategoriesSelect,
TeaserImage,
- UserTeaser,
},
props: {
contribution: { type: Object, default: () => {} },
@@ -194,12 +161,12 @@ export default {
}
},
computed: {
- contentLength() {
- return this.$filters.removeHtml(this.form.content).length
- },
...mapGetters({
currentUser: 'auth/user',
}),
+ contentLength() {
+ return this.$filters.removeHtml(this.form.content).length
+ },
},
methods: {
submit() {
@@ -293,8 +260,38 @@ export default {
diff --git a/webapp/components/TeaserImage/TeaserImage.vue b/webapp/components/TeaserImage/TeaserImage.vue
index 536fd8ae4..16ee78678 100644
--- a/webapp/components/TeaserImage/TeaserImage.vue
+++ b/webapp/components/TeaserImage/TeaserImage.vue
@@ -106,7 +106,6 @@ export default {
.image-uploader {
position: relative;
min-height: 200px;
- overflow: hidden;
cursor: pointer;
&:only-child {
@@ -117,10 +116,6 @@ export default {
pointer-events: none;
}
- &.--blur-image img {
- filter: blur(22px);
- }
-
.preview-image + & {
position: absolute;
top: 0;